cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-1 of 1 results.

A357526 Number of nonnegative integers less than n with the same product of the nonzero decimal digits as n.

Original entry on oeis.org

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

Views

Author

Ilya Gutkovskiy, Oct 02 2022

Keywords

Examples

			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.
		

Crossrefs

Programs

  • Mathematica
    Table[Length[Select[Range[0, n - 1], Times @@ DeleteCases[IntegerDigits[#], 0] == Times @@ DeleteCases[IntegerDigits[n], 0] &]], {n, 0, 90}]

Formula

a(n) = |{j < n : A051801(j) = A051801(n)}|.
Showing 1-1 of 1 results.