OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1..9
FORMULA
Also p^(p^2).
EXAMPLE
a(3) = 298023223876953125 because the 3rd prime number is 5 and 5^(5^2) = 298023223876953125.
MATHEMATICA
(#^#)^#&/@Prime[Range[5]] (* Harvey P. Dale, Aug 31 2015 *)
PROG
(PARI) { n=0; forprime (p=1, 25, write("b060205.txt", n++, " ", p^(p^2)); ) } \\ Harry J. Smith, Jul 02 2009
(Magma) [(n^n)^n: n in PrimesInInterval(1, 20)]; // G. C. Greubel, Aug 01 2024
(SageMath) [(n^n)^n for n in prime_range(1, 20)] # G. C. Greubel, Aug 01 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Walter Nissen, Mar 18 2001
STATUS
approved