|
|
A110900
|
|
Sum of the lesser of twin primes <= prime(10^n).
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
prime(n) = n-th prime number.
After the 3rd term, the next term is roughly 100 times the previous term.
|
|
LINKS
|
|
|
EXAMPLE
|
3, 5, 11, 17, and 29 are lesser members of twin primes <= prime(10^1) = 29. These add up to 65, the first term of this sequence.
|
|
PROG
|
(PARI) lista(pmax) = {my(s = 0, pow = 10, prev = 2, k = 1); forprime(p = 3, pmax, k++; if(p == prev + 2, s += prev); if(k > pow, print1(s, ", "); pow *= 10); prev = p); } \\ Amiram Eldar, Jun 30 2024
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|