login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A357526
Number of nonnegative integers less than n with the same product of the nonzero decimal digits as n.
1
0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 2, 2, 2, 0, 0, 0, 0, 0, 2, 3, 3, 2, 1, 0, 1, 0, 0, 0, 3, 4, 3, 2, 1, 0, 1, 0, 0, 0, 2, 3, 1, 1, 1, 0, 0, 0, 0, 0, 4, 5, 3, 2, 2, 1, 1, 0, 0, 0, 2, 3, 1, 1, 1, 1, 1, 0, 0, 0, 4, 5, 2, 3, 1, 1, 1, 1, 0, 0, 3
OFFSET
0,11
FORMULA
a(n) = |{j < n : A051801(j) = A051801(n)}|.
EXAMPLE
a(1) = 1 because A051801(1) = 1 and also A051801(0) = 1.
a(21) = 3 because A051801(21) = 2 and also A051801(2) = A051801(12) = A051801(20) = 2.
MATHEMATICA
Table[Length[Select[Range[0, n - 1], Times @@ DeleteCases[IntegerDigits[#], 0] == Times @@ DeleteCases[IntegerDigits[n], 0] &]], {n, 0, 90}]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Ilya Gutkovskiy, Oct 02 2022
STATUS
approved