login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

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 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A128958 Numbers n such that n^2+(n+1)^3 is prime. 2
2, 3, 5, 6, 12, 14, 17, 20, 26, 35, 36, 38, 39, 48, 50, 65, 66, 71, 72, 74, 80, 87, 89, 90, 96, 105, 107, 108, 113, 114, 119, 120, 122, 132, 134, 135, 137, 144, 146, 152, 155, 156, 158, 162, 167, 168, 185, 186, 200, 201, 207, 213, 221, 225, 230, 231, 236, 237, 248 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

All terms are {0,2} mod 3. - Zak Seidov, Dec 15 2013

LINKS

Zak Seidov, Table of n, a(n) for n = 1..2000

EXAMPLE

2^2+3^3=31, 3^2+4^3=73, 5^2+6^3=241, 6^2+7^3=379, 12^2+13^3=2341 all primes.

MATHEMATICA

Select[Range[0, 300], PrimeQ[ #^2+(#+1)^3]&]

PROG

(PARI) is(n)=isprime(n^2+(n+1)^3) \\ Charles R Greathouse IV, Jun 06 2017

CROSSREFS

Corresponding primes are in A155933. - Zak Seidov, Dec 15 2013

Sequence in context: A339308 A127525 A179333 * A007435 A125877 A118787

Adjacent sequences:  A128955 A128956 A128957 * A128959 A128960 A128961

KEYWORD

nonn,easy

AUTHOR

Zak Seidov, Apr 28 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 29 21:32 EST 2021. Contains 349416 sequences. (Running on oeis4.)