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!)
A236764 Numbers k such that k^3 +/- k +/- 1 are prime for all four possibilities. 2
15, 21, 15375, 25164, 53361, 95190, 110685, 115140, 133701, 139425, 140430, 140844, 189336, 217686, 220650, 266916, 272469, 289341, 344880, 364665, 377805, 382221, 390270, 415779, 454905, 539700, 561186, 567645, 575799, 584430, 603651, 722484 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
110685^3+110685+1 (1356020665779811), 110685^3+110685-1 (1356020665779809), 110685^3-110685+1 (1356020665558441) and 110685^3-110685-1 (1356020665558439) are all prime. Thus 110685 is a member of this sequence.
PROG
(Python)
import sympy
from sympy import isprime
{print(n) for n in range(10**6) if isprime(n**3+n+1) and isprime(n**3-n+1) and isprime(n**3+n-1) and isprime(n**3-n-1)}
(PARI) for(n=1, 800000, if(isprime(n^3+n+1)&&isprime(n^3-n+1)&&isprime(n^3+n-1)&&isprime(n^3-n-1), print1(n, ", "))) \\ Colin Barker, Jan 31 2014
CROSSREFS
Intersection of A126421, A236477, A049407, and A236475.
Sequence in context: A219214 A205597 A307792 * A300958 A066758 A338119
KEYWORD
nonn
AUTHOR
Derek Orr, Jan 30 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 19:06 EDT 2024. Contains 371962 sequences. (Running on oeis4.)