A326120 a(n) is the concatenation of n^1, n^2, ..., n^n.
1, 24, 3927, 41664256, 5251256253125, 6362161296777646656, 749343240116807117649823543, 864512409632768262144209715216777216, 981729656159049531441478296943046721387420489, 10100100010000100000100000010000000100000000100000000010000000000
Offset: 1
Programs
-
Maple
a:= n-> parse(cat(n^j$j=1..n)): seq(a(n), n=1..14); # Alois P. Heinz, Jan 24 2021
-
Mathematica
a[n_] := FromDigits@ Flatten@ IntegerDigits[n^Range[n]]; Array[a, 10] (* Giovanni Resta, Sep 12 2019 *)
-
Python
def a(n): return int("".join(str(n**i) for i in range(1, n+1))) print([a(n) for n in range(1, 11)]) # Michael S. Branicky, Jan 24 2021
Extensions
More terms from Giovanni Resta, Sep 12 2019
Comments