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.

A025673 Exponent of 8 (value of j) in n-th number of form 5^i*8^j.

Original entry on oeis.org

0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2, 3, 0, 4, 1, 2, 3, 0, 4, 1, 5, 2, 3, 0, 4, 1, 5, 2, 6, 3, 0, 4, 1, 5, 2, 6, 3, 0, 7, 4, 1, 5, 2, 6, 3, 0, 7, 4, 1, 8, 5, 2, 6, 3, 0, 7, 4, 1, 8, 5, 2, 9, 6, 3, 0, 7, 4, 1, 8, 5, 2, 9, 6, 3, 10, 0, 7, 4, 1, 8, 5, 2, 9, 6, 3, 10, 0, 7, 4, 11, 1, 8, 5, 2, 9, 6, 3, 10, 0, 7, 4, 11, 1
Offset: 1

Views

Author

Keywords

Crossrefs

Differs from A025658 at a(2805).

Programs

  • Mathematica
    Take[Sort[Flatten[Table[{5^i 8^j,j},{i,0,20},{j,0,20}],1]][[;;,2]],120] (* Harvey P. Dale, Nov 10 2024 *)
    With[{max = 10^11}, IntegerExponent[Sort[Flatten[Table[5^i*8^j, {i, 0, Log[5, max]}, {j, 0, Log[8, max/5^i]}]]], 8]] (* Amiram Eldar, Jul 09 2025 *)

Formula

a(n) = A244413(A025623(n)). - Amiram Eldar, Jul 09 2025