login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A236475 Numbers n such that n^3 + n - 1 is prime. 4
3, 4, 7, 10, 15, 16, 18, 21, 25, 27, 33, 36, 39, 43, 46, 51, 52, 55, 63, 73, 78, 81, 87, 93, 94, 96, 100, 103, 105, 109, 112, 115, 117, 120, 124, 127, 129, 135, 139, 145, 150, 151, 165, 166, 171, 178, 189, 192, 198, 199 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

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

EXAMPLE

46^3 + 46 - 1 = 97381 is prime. So 46 is a member of this sequence.

PROG

(Python)

import sympy

from sympy import isprime

{print(n) for n in range(10**3) if isprime(n**3+n-1)}

(PARI)

s=[]; for(n=1, 500, if(isprime(n^3+n-1), s=concat(s, n))); s \\ Colin Barker, Jan 27 2014

CROSSREFS

Cf. A049407, A126421.

Sequence in context: A228643 A304066 A296994 * A287458 A050572 A249668

Adjacent sequences:  A236472 A236473 A236474 * A236476 A236477 A236478

KEYWORD

nonn

AUTHOR

Derek Orr, Jan 26 2014

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 19 22:34 EST 2019. Contains 329323 sequences. (Running on oeis4.)