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!)
A128955 Numbers n such that n+(n+1)^3 is prime. 0
2, 3, 6, 9, 14, 15, 17, 20, 24, 26, 32, 35, 38, 42, 45, 50, 51, 54, 62, 72, 77, 80, 86, 92, 93, 95, 99, 102, 104, 108, 111, 114, 116, 119, 123, 126, 128, 134, 138, 144, 149, 150, 164, 165, 170, 177, 188, 191, 197, 198, 201, 203, 215, 222, 227, 240, 242, 245, 257, 258 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..60.

EXAMPLE

2+3^3=29, 3+4^3=67, 6+7^3=349, 9+10^3=1009 all primes.

MATHEMATICA

Select[Range[300], PrimeQ[#+(#+1)^3]&] (* Harvey P. Dale, Mar 14 2013 *)

PROG

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

CROSSREFS

Sequence in context: A039903 A280422 A309897 * A215523 A306247 A348865

Adjacent sequences:  A128952 A128953 A128954 * A128956 A128957 A128958

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 January 20 00:45 EST 2022. Contains 350467 sequences. (Running on oeis4.)