OFFSET
0,1
COMMENTS
This sequence is the multiplicative counterpart to A130232, but the initial term 0 is replaced with 10 (0 obviously results in A000004). The data demonstrates that the number of 0's grows rapidly as a(n) increases, because each term is a multiple of 10, thus adding at least one 0 to successive terms.
FORMULA
a(n+1) = a(n)*#_0[a(n)...a(0)], where #_0(n) is the number of 0's in n.
EXAMPLE
To calculate a(5), multiply a(4)=240 by the number of 0's present in itself and previous terms, of which there are 5, thus yielding 1200.
a(6) is 1200 multiplied by 7, which is the number of 0's present so far, thus giving 8400.
MATHEMATICA
a[0]=10; a[n_]:=a[n]=a[n-1]Count[Flatten[IntegerDigits/@Array[a, n, 0]], 0]; Array[a, 20, 0] (* Giorgos Kalogeropoulos, May 09 2021 *)
PROG
(Python)
A344104_list, c = [10], 1
for _ in range(20):
c += str(A344104_list[-1]).count('0') # Chai Wah Wu, Jun 06 2021
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jamie Robert Creasey, May 09 2021
STATUS
approved