

A100408


Numbers n such that n^n2 is prime.


4




OFFSET

1,1


COMMENTS

Except for the first term all terms are odd.
Numbers n such that n^n+7 is prime gives the (as yet) tooshort sequence 2,4,6,32,...


LINKS

Table of n, a(n) for n=1..8.


EXAMPLE

51 is in the sequence because 51^512 is prime. 1071^10712 is a probable prime.


MATHEMATICA

Do[If[PrimeQ[n^n2], Print[n]], {n, 1111}]


PROG

(PARI) is(n)=ispseudoprime(n^n2) \\ Charles R Greathouse IV, Feb 20 2017


CROSSREFS

Cf. A100407.
Sequence in context: A185308 A002214 A218684 * A259370 A103034 A038952
Adjacent sequences: A100405 A100406 A100407 * A100409 A100410 A100411


KEYWORD

more,nonn,changed


AUTHOR

Farideh Firoozbakht, Nov 19 2004


STATUS

approved



