A125582 Smallest positive integer with multiplicative persistence n in base 12.
1, 12, 30, 46, 83, 1099, 1571, 17902874277
Offset: 0
Examples
a(0)=1 since 1 is the smallest positive integer for which no multiplication takes place. [Edited by _A.H.M. Smeets_, Sep 16 2018] a(6)=1571 since 1571, 1100, 392, 128, 80, 48, 0 is the chain with six multiplications. In base 12, XXE, 778, 288, X8, 68, 40, 0.
Programs
-
Maple
Maple program available upon request.
-
Mathematica
With[{s = Array[-1 + Length@ FixedPointList[Times @@ IntegerDigits[#, 12] &, #] &, 1600]}, Array[FirstPosition[s, #][[1]] &, Max@ s]] (* Michael De Vlieger, Sep 18 2018 *)
Comments