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.

A064301 Rightmost column of A064744; 2-adic valuation of the EKG-sequence.

Original entry on oeis.org

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

Views

Author

N. J. A. Sloane, Oct 20 2001

Keywords

Comments

Exponent of highest power of 2 dividing A064413(n).

Crossrefs

Programs

  • Mathematica
    IntegerExponent[#, 2] & /@ Nest[Append[#, Block[{k = 3}, While[Or[MemberQ[#, k], GCD[#[[-1]], k] == 1], k++]; k]] &, {1, 2}, 105] (* Michael De Vlieger, May 22 2018 *)
  • PARI
    A064301(n) = valuation(A064413(n),2); \\ Needs also code from A064413. - Antti Karttunen, May 18 2018

Extensions

More terms from Vladeta Jovovic, Oct 21 2001
An alternative description added to name by Antti Karttunen, May 18 2018