OFFSET
0,3
COMMENTS
For n<=20, a(n) = A067041(n).
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = n^A010879(n). - Michel Marcus, Aug 15 2023
EXAMPLE
a(13) = 13^3 = 2197.
MATHEMATICA
Join[{1}, Table[n^Mod[n, 10], {n, 40}]] (* Harvey P. Dale, Dec 21 2020 *)
PROG
(Python)
for n in range(44):
print n ** (n%10),
(PARI) a(n) = n^(n % 10); \\ Michel Marcus, Aug 15 2023
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Alex Ratushnyak, Jul 29 2012
STATUS
approved