|
| |
|
|
A119987
|
|
Primes of the form n^n + n^3 + 1.
|
|
1
| |
|
|
2, 3, 13, 3251, 16777729, 387421219, 11112006825560761, 443426488243037769948249630619149912487, 1075911801979993982060429252856123779115487368830416064665177
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,1
|
|
|
COMMENTS
| Cubic analogue to A119448 Primes of the form n^n + n^2 + 1. The n such that n^n + n^2 + 1 is prime are: 0, 1, 2, 5, 8, 9, 14, 27, 38, 62, 255, (4000), ..., . Per V. Librandi's extension, 2 is an element iff one defines 0^0 = 1.
|
|
|
LINKS
| Charles R Greathouse IV, Table of n, a(n) for n = 1..11
|
|
|
FORMULA
| a(n) = A000040 INTERSECTION {n^n + n^3 + 1}. a(n) = A000040 INTERSECTION {A000312(n) + A001093(n)}. a(n) = A000040 INTERSECTION {A000312(n) + A000578(n) + 1}.
|
|
|
MATHEMATICA
| f[n_] := (n^n + n^3 + 1); Select[f@ Range@ 40, PrimeQ]
|
|
|
PROG
| (MAGMA) [ a: n in [0..250] | IsPrime(a) where a is n^n+n^3+1 ]; [From Vincenzo Librandi, Dec 22 2010]
(PARI) for(n=1, 255, if(ispseudoprime(t=n^n+n^3+1), print1(t", "))); v \\ Charles R Greathouse IV, Feb 17, 2011
|
|
|
CROSSREFS
| Cf. A000040, A000312, A000578, A001093, A120479, A120480, A119264, A119448.
Sequence in context: A160858 A062648 A094003 * A093553 A027673 A119616
Adjacent sequences: A119984 A119985 A119986 * A119988 A119989 A119990
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Jonathan Vos Post (jvospost3(AT)gmail.com), Aug 03 2006
|
|
|
EXTENSIONS
| 2 added by Vincenzo Librandi, Dec 22 2010
|
| |
|
|