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!)
A119863 Numbers k such that k^3 + k^2 + 1 is prime. 4
1, 2, 3, 5, 8, 9, 11, 12, 23, 24, 26, 30, 35, 42, 44, 45, 47, 53, 56, 57, 62, 66, 68, 69, 71, 74, 86, 87, 89, 92, 101, 111, 120, 122, 123, 125, 140, 143, 147, 152, 170, 177, 179, 180, 191, 192, 195, 198, 203, 209, 219, 224, 230, 234, 239, 243, 245, 246, 254, 255, 263 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
92^3 + 92^2 + 1 = 787153 (prime), so 92 is in the sequence.
MAPLE
a:=proc(n) if isprime(n^3+n^2+1)=true then n else fi end: seq(a(n), n=0..300); # Emeric Deutsch, Aug 04 2006
MATHEMATICA
Select[Range[300], PrimeQ[#^3+#^2+1]&] (* Harvey P. Dale, May 03 2014 *)
PROG
(PARI) is(n)=isprime(n^3+n^2+1) \\ Charles R Greathouse IV, Jan 21 2015
CROSSREFS
Cf. A005574.
Sequence in context: A286486 A285092 A027756 * A285253 A047254 A226815
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Jul 31 2006
EXTENSIONS
More terms from Emeric Deutsch and R. J. Mathar, Aug 04 2006
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 25 10:22 EDT 2024. Contains 371967 sequences. (Running on oeis4.)