Talk:CalmoSoft primes: Difference between revisions

From Rosetta Code
Content added Content deleted
Line 13: Line 13:
11 + 13 + 17 + 19 + 23 + 29...211 + 223 + 227 + 229 + 233, sum: 5,333
11 + 13 + 17 + 19 + 23 + 29...211 + 223 + 227 + 229 + 233, sum: 5,333
</pre>
</pre>
--[[User:Petelomax|Petelomax]] ([[User talk:Petelomax|talk]]) 02:48, 9 April 2023 (UTC)
Sadly, I don't think there is an OEIS entry I can check this against (tee hee) --[[User:Petelomax|Petelomax]] ([[User talk:Petelomax|talk]]) 02:48, 9 April 2023 (UTC)

Revision as of 03:02, 9 April 2023

Raku incorrect

I'm getting

For primes up to two hundred and fifty:
The following sequence of 49 consecutive primes yields a prime sum:
 11+13+17+19+23+29+..+223+227+229+233+239+241 = 5,813

which disagrees with the Raku output. For ease of reference, the relevant Raku output is

For primes up to two hundred fifty:
Longest sequence of consecutive primes yielding a prime sum: elements: 47
 7 + 11 + 13 + 17 + 19 + 23...199 + 211 + 223 + 227 + 229, sum: 5,107
 11 + 13 + 17 + 19 + 23 + 29...211 + 223 + 227 + 229 + 233, sum: 5,333

Sadly, I don't think there is an OEIS entry I can check this against (tee hee) --Petelomax (talk) 02:48, 9 April 2023 (UTC)