|
Search: id:A100408
|
|
|
| A100408 |
|
Numbers n such that n^n-2 is prime. |
|
+0 5
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Except for the first term all terms are odd.
Numbers n such that n^n+7 is prime gives the (as yet) too-short sequence 2,4,6,32,...
|
|
EXAMPLE
|
51 is in the sequence because 51^51-2 is prime. 1071^1071-2 is a probable prime.
|
|
MATHEMATICA
|
Do[If[PrimeQ[n^n-2], Print[n]], {n, 1111}]
|
|
CROSSREFS
|
Cf. A100407.
Sequence in context: A046866 A000988 A002214 this_sequence A140562 A140550 A103034
Adjacent sequences: A100405 A100406 A100407 this_sequence A100409 A100410 A100411
|
|
KEYWORD
|
more,nonn
|
|
AUTHOR
|
Farideh Firoozbakht (mymontain(AT)yahoo.com), Nov 19 2004
|
|
|
Search completed in 0.002 seconds
|