login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A161964
Prime(n) raised to the nonprime(n)-th power.
0
1, 3, 625, 117649, 214358881, 10604499373, 2015993900449, 2213314919066161, 11592836324538749809, 8629188747598184440949, 727423121747185263828481, 16890053810563300749953435929, 180167782956420929503029846064801
OFFSET
1,2
FORMULA
a(n)=A000040(n)^A141468(n).
EXAMPLE
a(1)=2^0=1. a(2)=3^1=3. a(3)=5^4=625.
MATHEMATICA
nn=20; With[{prs=Prime[Range[nn]]}, First[#]^Last[#]&/@Thread[{prs, Take[ Complement[Range[0, Last[prs]+1], prs], nn]}]] (* Harvey P. Dale, Sep 24 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Extended by R. J. Mathar, Aug 14 2009
STATUS
approved