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.

A383029 Exponent of the highest power of 2 dividing the n-th exponentially odd number.

Original entry on oeis.org

0, 1, 0, 0, 1, 0, 3, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3, 1, 0, 0, 1, 0, 5, 0, 1, 0, 0, 1, 0, 3, 0, 1, 0, 1, 0, 0, 0, 1, 0, 3, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 3, 0, 0, 0, 1, 0, 5, 0, 0, 1, 0, 3, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 3, 1
Offset: 1

Views

Author

Amiram Eldar, Apr 13 2025

Keywords

Crossrefs

Programs

  • Mathematica
    expOddQ[n_] := AllTrue[FactorInteger[n][[;; , 2]], OddQ]; IntegerExponent[Select[Range[200], expOddQ], 2]
  • PARI
    isexpodd(n) = {my(f = factor(n)); for(i=1, #f~, if(!(f[i, 2] % 2), return (0))); 1; }
    list(lim) = for(k = 1, lim, if(isexpodd(k), print1(valuation(k, 2), ", ")));

Formula

a(n) = A007814(A268335(n)).
a(A383030(n)) > 0.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k) = 2/3.