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.

A367624 2-adic valuation of A123581(2*n).

Original entry on oeis.org

1, 2, 2, 1, 1, 3, 1, 3, 1, 2, 2, 1, 4, 1, 4, 1, 1, 2, 1, 2, 1, 3, 1, 2, 3, 1, 2, 1, 1, 5, 1, 2, 5, 1, 2, 1, 3, 1, 3, 1, 1, 2, 1, 2, 1, 4, 1, 2, 4, 1, 2, 1, 3, 1, 1, 3, 1, 2, 2, 1, 6, 1, 1, 6, 1, 2, 1, 2, 1, 3, 3, 1, 2, 1, 1, 2, 1, 4, 1, 4, 1, 2, 1, 3, 2, 1, 3, 1, 2, 1, 5, 1, 2, 1
Offset: 1

Views

Author

N. J. A. Sloane, Dec 06 2023

Keywords

Comments

A123581(n) is odd if n is odd.

Crossrefs

Programs

  • Mathematica
    With[{nmax=100},IntegerExponent[NestList[#+FactorInteger[#][[-1,1]]&,3,2nmax-1][[2;;-1;;2]],2]] (* Paolo Xausa, Dec 07 2023 *)