login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A245591
Cubes which are the sum of twin prime pairs.
3
8, 216, 5268024, 59319000, 114791256, 209584584, 543338496, 970299000, 1137893184, 1177583616, 1505060136, 1728000000, 4065356736, 5545233000, 5890514616, 7011739944, 8947094976, 9340607016, 10941048000, 13824000000, 14996130696, 17293606056, 17657244864, 17902480896, 20480864256
OFFSET
1,1
COMMENTS
All terms starting with 216 are multiples of 216 and final digits are 0, 4, 6. - Zak Seidov, Aug 03 2014
LINKS
EXAMPLE
3 and 5 are twin primes and 3 + 5 = 8 = 2^3. So 8 is a member of this sequence.
PROG
(PARI) a(N) = for(n=1, N, p=n^3; if(nextprime(p/2)-precprime(p/2)==2&&precprime(p/2)+nextprime(p/2)==p, print1(p, ", "))) \\ vary the program's range for any N
CROSSREFS
KEYWORD
nonn
AUTHOR
Derek Orr, Jul 26 2014
STATUS
approved