A344744 a(n) is the n-th power of the concatenation of the integers from 0 through n-1.
0, 1, 1728, 228886641, 2861381721051424, 3539537889086624823140625, 437104634676747795452235896466702336, 5396563761318393964062660689603780554533710504641, 6662458388479360230805308787387369820914640828074410829911019008
Offset: 1
Examples
a(1) = 0^1 = 0; a(2) = 01^2 = 1; a(3) = 012^3 = 1728; a(4) = 0123^4 = 228886641.
Programs
-
Mathematica
a[n_] := FromDigits[Join @@ IntegerDigits @ Range[0, n - 1]]^n; Array[a, 9] (* Amiram Eldar, May 29 2021 *)
-
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
Formula
a(n) = A007908(n-1)^n.