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
KEYWORD
nonn,more
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 15 2008
STATUS
approved