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!)
A161471 Primes of the form k^k + k + 1. 4
2, 3, 7, 31, 46663, 387420499 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The associated k are in A058911. - R. J. Mathar, Jun 12 2009
a(7) = 116035988662615798148247830...0301775295923724561430603629007 (1232 digits).
LINKS
FORMULA
Intersection of A000040 and A066279. - R. J. Mathar, Jun 12 2009
MATHEMATICA
Unprotect[Power]; Power[0, 0] = 1; Protect[Power]; lst={}; Do[p=n^n+n+1; If[PrimeQ[p], AppendTo[lst, p]], {n, 0, 100}]; lst
Join[{2}, Select[Table[k^k+k+1, {k, 1000}], PrimeQ]] (* Harvey P. Dale, Oct 09 2022 *)
PROG
(PARI) lista(nn) = for(k=0, nn, if(ispseudoprime(q=k^k+k+1), print1(q, ", "))); \\ Jinyuan Wang, Mar 01 2020
CROSSREFS
Sequence in context: A096350 A066279 A337221 * A057677 A032148 A101484
KEYWORD
nonn
AUTHOR
EXTENSIONS
Definition simplified by R. J. Mathar, Jun 12 2009
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 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)