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

A138762
Average of twin primes k such that k = p1^3 + p2^2, where p1 and p2 are consecutive primes, and p1 < p2.
0
13008, 8861225070, 13000005000, 38318210940, 51451234488, 64352692512, 68484878220
OFFSET
1,1
EXAMPLE
Numbers 13007 and 13009 are twin primes. Their average 13008 equals 23^3 + 29^2, where 23 and 29 are consecutive primes. Thus, 13008 is in this sequence. - Tanya Khovanova, Jul 21 2021
MATHEMATICA
a={}; Do[p1=Prime[n]; p2=Prime[n+1]; pp=p1^3+p2^2; If[PrimeQ[pp-1]&&PrimeQ[pp+1], AppendTo[a, pp]], {n, 16^3}]; Print[a];
CROSSREFS
Sequence in context: A190947 A203910 A354510 * A139777 A031633 A015327
KEYWORD
nonn,more
AUTHOR
STATUS
approved