A159686 Sum of strong primes < 10^n.
0, 508, 33551, 2751328, 216056493, 18084221125, 1548424793743, 135655041210402, 12054551765023934, 1084635554912125542, 98583402030663969332, 9035771475185456034956
Offset: 1
Examples
The strong primes < 10^2 are 11, 17, 29, 37, 41, 59, 67, 71, 79, 97. These add up to 508 which is the second term in the sequence.
Links
- Cino Hilliard, Sum of Strong Primes. [broken link]
Programs
-
PARI
lista(pmax) = {my(s = 0, pow = 10, p1 = 2, p2 = 3); forprime(p3 = 5, pmax, if(p2 > pow,print1(s, ", "); pow *= 10); if(2*p2 > p1+p3, s += p2); p1 = p2; p2 = p3);} \\ Amiram Eldar, Jul 02 2024
Extensions
Edited by N. J. A. Sloane, Apr 20 2009
a(11)-a(12) from Amiram Eldar, Jul 02 2024
Comments