OFFSET
1,2
EXAMPLE
a(3) = 6^5 = 7776 because 6 is the 3rd nonprime number and 5 is the 3rd prime number.
PROG
(PARI) lista(nn) = my(k=1); for(n=1, nn, if (!isprime(n), print1(n^prime(k), ", "); k++)) \\ Michel Marcus, Apr 12 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Kritsada Moomuang, Apr 12 2018
EXTENSIONS
a(9) corrected by Georg Fischer, Dec 09 2022
STATUS
approved