OFFSET
1,2
MATHEMATICA
a[n_]:=Module[{c=0}, For[h=10^(n-1), h<10^n, h++, If[Sum[Boole[Product[Part[(digits=IntegerDigits[h]), i], {i, k}] == Product[Part[digits, i], {i, k+1, n}]], {k, n-1}]>0, c++]]; c]; Array[a, 5]
PROG
(Python)
from math import prod
terms = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
def ok(n):
d = list(map(int, str(n)))
return any(prod(d[:i]) == prod(d[i:]) for i in range(1, len(d)))
start = 1
while 0 in terms[1:]:
if ok(start):
terms[len(str(start))-1] += 1
start += 1
print(terms)
# David Consiglio, Jr., Sep 19 2025
CROSSREFS
KEYWORD
nonn,base,more
AUTHOR
Stefano Spezia, Sep 10 2025
EXTENSIONS
a(10) from David Consiglio, Jr., Sep 19 2025
STATUS
approved
