login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A258269 Primes of the form p^3 + q^2 + r, where p, q, r are consecutive primes. 2
59, 5297, 7417, 81769, 152419, 714479, 1237037, 3330907, 25248317, 64648901, 84801217, 90728159, 286628773, 530133671, 554065817, 823543381, 1028270917, 1096980919, 1299792317, 1321357391, 1417523659, 1574410169, 1648622903, 1997248987, 2084078057, 2556384373 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

K. D. Bajpai, Table of n, a(n) for n = 1..10000

EXAMPLE

a(1) = 59 is prime of the form 3^3 + 5^2 + 7.

a(2) = 5297 is prime of the form 17^3 + 19^2 + 23.

MAPLE

A258269:= n-> (ithprime(n)^3+ithprime(n+1)^2+ithprime(n+2)): select(isprime, [seq((A258269(n), n=1..5000))]);

MATHEMATICA

Select[Table[p = Prime[n]; q = NextPrime[p]; r = NextPrime[q]; p^3 + q^2 + r, {n, 5000}], PrimeQ]

PROG

(Magma) [k: p in PrimesUpTo (3000) | IsPrime(k) where k is (p^3 + NextPrime(p)^2 + NextPrime(NextPrime(p)))];

(PARI) forprime(p=1, 5000, q=nextprime(p+1); r=nextprime(q+1);  k=(p^3 + q^2 + r); if(isprime(k), print1(k, ", ")))

CROSSREFS

Cf. A000040, A034962, A133529, A133530.

Sequence in context: A135649 A278367 A198509 * A094489 A235215 A178066

Adjacent sequences:  A258266 A258267 A258268 * A258270 A258271 A258272

KEYWORD

nonn

AUTHOR

K. D. Bajpai, May 25 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 29 16:23 EDT 2022. Contains 357090 sequences. (Running on oeis4.)