login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A162927
Primes of the form n^n-2.
2
2, 823541, 1978419655660313589123977, 5842587018385982521381124419, 88817841970012523233890533447265623, 66009724686219550843768321818371771650147004059278069406814190436565131829325062447
OFFSET
1,1
MATHEMATICA
f[n_]:=n^n-2; lst={}; Do[If[PrimeQ[f[n]], AppendTo[lst, f[n]]], {n, 5!}]; lst
Join[{2}, Select[Table[n^n-2, {n, 1, 51, 2}], PrimeQ]] (* Harvey P. Dale, Feb 12 2023 *)
CROSSREFS
Main sequence is A100408.
Sequence in context: A101118 A331870 A371642 * A173363 A052205 A170996
KEYWORD
nonn
AUTHOR
EXTENSIONS
Cross-reference from Charles R Greathouse IV, Oct 08 2009
STATUS
approved