[go: up one dir, main page]

login
A326120
a(n) is the concatenation of n^1, n^2, ..., n^n.
0
1, 24, 3927, 41664256, 5251256253125, 6362161296777646656, 749343240116807117649823543, 864512409632768262144209715216777216, 981729656159049531441478296943046721387420489, 10100100010000100000100000010000000100000000100000000010000000000
OFFSET
1,2
COMMENTS
a(100) has 10200 digits.
a(n) is the concatenation of the n terms of the n-th row of A075363 triangle. - Michel Marcus, Sep 15 2019
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 *)
PROG
(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
CROSSREFS
KEYWORD
nonn,base,easy,less
AUTHOR
Trevor Mulindi, Sep 10 2019
EXTENSIONS
More terms from Giovanni Resta, Sep 12 2019
STATUS
approved