OFFSET
1,3
LINKS
Matthew House, Table of n, a(n) for n = 1..96
EXAMPLE
a(3) = 3^5 - 5^3 = 243 - 125 = 118.
a(4) = 16384 - 2401 = 13983.
MATHEMATICA
lst={}; Do[p=Prime[n]; AppendTo[lst, n^p-p^n], {n, 4!}]; lst (* Vladimir Joseph Stephan Orlovsky, Sep 19 2008 *)
PROG
(PARI) vector(13, n, n^prime(n) - prime(n)^n) \\ Michel Marcus, Aug 05 2015
CROSSREFS
KEYWORD
sign
AUTHOR
Dennis S. Kluk (mathemagician(AT)ameritech.net)
EXTENSIONS
More terms from Labos Elemer, Jul 09 2001
STATUS
approved