OFFSET
1,1
COMMENTS
Also the least refactorable number (A033950) that has the n-th prime as its least prime factor. - Robert G. Wilson v, Jun 28 2006
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..77
S. Colton, Refactorable Numbers - A Machine Invention, J. Integer Sequences, Vol. 2, 1999, #2.
EXAMPLE
5^(5-1) = 5^4 = 625.
MATHEMATICA
Table[Prime@n^(Prime@n - 1), {n, 10}] (* Robert G. Wilson v, Jun 28 2006 *)
#^(#-1)&/@Prime[Range[10]] (* Harvey P. Dale, Oct 23 2015 *)
PROG
(Magma) [p^(p-1): p in PrimesUpTo(50)]; // Vincenzo Librandi, Mar 27 2014
(PARI) a(n) = my(p=prime(n)); p^(p-1); \\ Michel Marcus, Jan 24 2019
CROSSREFS
These integers are refactorable -- i.e., the number of divisors divides the number itself, cf. A033950.
KEYWORD
nonn,easy
AUTHOR
Simon Colton (simonco(AT)cs.york.ac.uk)
STATUS
approved