1,2

Andrew Howroyd, Table of n, a(n) for n = 1..1000

a(n) = A001227(n) + A001227(n-1). - Andrew Howroyd, Aug 10 2018

a(4) = 3 = sum of row 4 of triangle A129573: (1 + 0 + 1 + 1).

(PARI) a(n)=numdiv(n >> valuation(n, 2)) + if(n > 1, numdiv((n-1) >> valuation(n-1, 2))) \\ Andrew Howroyd, Aug 10 2018

Row sums of A129573.

Cf. A001227.

Sequence in context: A326201 A342625 A295569 * A323466 A130193 A084516

Adjacent sequences: A129571 A129572 A129573 * A129575 A129576 A129577

nonn

Gary W. Adamson, Apr 22 2007

Name changed and terms a(11) and beyond from Andrew Howroyd, Aug 10 2018

approved