A025650 Exponent of 5 (value of j) in n-th number of form 4^i*5^j.
0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 5, 6, 0, 1, 2, 3, 4, 5, 6, 0, 7, 1, 2, 3, 4, 5, 6, 0, 7, 1, 8, 2, 3, 4, 5, 6, 0, 7, 1, 8, 2, 9, 3, 4, 5, 6, 0, 7, 1, 8, 2, 9, 3, 10, 4, 5, 6, 0, 7, 1, 8, 2, 9, 3, 10, 4, 11, 5, 6, 0, 7, 1, 8, 2, 9, 3, 10, 4, 11, 5, 12, 6, 0, 7, 1, 8, 2, 9
Offset: 1
Keywords
Links
Programs
-
Mathematica
With[{max = 10^10}, IntegerExponent[Sort[Flatten[Table[4^i*5^j, {i, 0, Log[4, max]}, {j, 0, Log[5, max/4^i]}]]], 5]] (* Amiram Eldar, Jul 09 2025 *)