reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
Rémy Sigrist, <a href="/A295283/b295283.txt">Table of n, a(n) for n = 1..25000</a>
approved
editing
proposed
approved
editing
proposed
Empirically, this sequence and A295277 have tight connections:
- let c be the sequence defined for any n > 0 by c(n) = a(n) + A295277(n),
- we have for any n > 0, c(n) <= c(n+1) <= c(n) + 1,
- let u be the sequence defined for any n > 0 by u(n) = least k such that a(k) = n,
- let v be the sequence defined for any n >= 0 by v(n) = least k such that A295277(k) = n,
- we have for any n > 0, u(n) + 1 = v(n).
a(2^n) = 0 for any n >= 0.
(PARI) mx = 0; for (n=1, 85, v = 1 + sum(i=1, mx, bitand(i, n)!=0); print1 (v ", "); mx = max(mx, v))