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”).

A174717
Averages of twin prime pairs of the form: sum of consecutive cubes.
2
432, 4788, 9000, 211500, 437472, 564300, 1231200, 1232352, 1271088, 2368800, 2609208, 3042900, 5523408, 6773580, 8560692, 9604980, 9985500, 12797568, 14653548, 15630300, 15850800, 24770592, 26462700, 33242400, 34716348
OFFSET
1,1
COMMENTS
3^3+4^3+5^3+6^3=432, 9^3+10^3+11^3+12^3=4788,..
MATHEMATICA
mx=500; mz=mx^3+(mx+1)^3; lst={}; Do[p=q^3; Do[p+=n^3; If[PrimeQ[p-1]&&PrimeQ[p+1], If[p>mz, Break[]]; AppendTo[lst, p]], {n, q+1, mx+1}], {q, 1, mx}]; Union@lst
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved