OFFSET
1,2
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..20000
MATHEMATICA
co[n_, k_] := Nest[Flatten[IntegerDigits[{#, n}]] &, n, k - 1]; A037276 =
Table[FromDigits[Flatten[IntegerDigits[co @@@ FactorInteger[n]]]], {n, 50}]; Table[Sum[A037276[[k]], {k, 1, n}], {n, 1, 25}] (* G. C. Greubel, Jun 23 2017 *)
PROG
(Python)
from sympy import factorint
def a037276(n):
f=factorint(n)
l=sorted([i for i in f])
return 1 if n==1 else int("".join(str(i)*f[i] for i in l))
l=[0, 1]
for n in range(2, 101): l.append(l[n - 1] + a037276(n))
print(l[1:]) # Indranil Ghosh, Jun 23 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jun 20 2017
STATUS
approved