[go: up one dir, main page]

login
A038583
Palindromes that are the sum of consecutive initial primes.
3
2, 5, 77, 285080582, 352888253, 854848458, 137372273731, 2939156519392, 6833383883833386, 27155268786255172, 477749724515427947774, 625179415050514971526, 714014821826628128410417, 2719564270866680724659172
OFFSET
1,1
COMMENTS
a(15) > 1.22*10^26. - Giovanni Resta, Sep 01 2018
EXAMPLE
2+3+5+7+11+13+17+19 = 77.
PROG
(PARI)
rev(n)=r=""; d=digits(n); for(i=1, #d, r=concat(Str(d[i]), r)); eval(r)
s=0; for(n=1, 10^5, s+=prime(n); if(rev(s)==s, print1(s, ", "))) \\ Derek Orr, Aug 16 2014
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
EXTENSIONS
a(11)-a(12) from Donovan Johnson, Apr 25 2010
a(13)-a(14) from Giovanni Resta, Aug 30 2018
STATUS
approved