OFFSET
1,3
FORMULA
a(n) = A007908(n-1)^n.
EXAMPLE
a(1) = 0^1 = 0;
a(2) = 01^2 = 1;
a(3) = 012^3 = 1728;
a(4) = 0123^4 = 228886641.
MATHEMATICA
a[n_] := FromDigits[Join @@ IntegerDigits @ Range[0, n - 1]]^n; Array[a, 9] (* Amiram Eldar, May 29 2021 *)
PROG
(Python)
def a(n): return int("".join(str(i) for i in range(n)))**n
print([a(n) for n in range(1, 10)]) # Michael S. Branicky, May 29 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Luke Voyles, May 27 2021
STATUS
approved