Extreme primes: Difference between revisions

Converted to a draft task and added a stretch goal (see Wren preamble for rationale).
(Converted to a draft task and added a stretch goal (see Wren preamble for rationale).)
Line 1:
{{draft task}}
<big>;Definition</big>
<br><br>
Write down the first prime number, add the next prime number and if it is prime, add it to the series and so on. These primes are called '''extreme primes'''.
<br><br>
<big>;Task</big>
Find and display the first '''30 p extreme primeprimes''' number on this page.
<br><br>
<br><br>
Find and display the first '''30 p extreme prime''' number on this page.
;Stretch
Find and display the '''1,000th''', '''2,000th''', '''3,000th''', '''4,000th''' and '''5,000th''' extreme primes and for each one show the prime number '''p''' up to and including which primes need to be summed to obtain it.
<br><br>
;Related (and near duplicate) tasks
* [[Prime numbers p for which the sum of primes less than or equal to p is prime]]
* [[Summarize primes]]
;Reference
[[oeis:A013918|OEIS sequence A013918]]
<br><br>
 
Line 204 ⟶ 212:
<br>
--- Based on the above reasons, please delete this task. Thanks in advance. --- CalmoSoft
 
--- Unfortunately, no one seems to have the power to delete tasks since the migration to Miraheze and I don't want to unilaterally blank the page when there are already 8 solutions. What I've done instead is to make it a bit more interesting than the related tasks by adding a stretch goal. ---PureFox
 
<syntaxhighlight lang="ecmascript">import "./math" for Int
import "./fmt" for Fmt
9,476

edits