0,4

A048715 gives all n for which a(n) = 0, A048717 gives all n for which a(n) = n.

Table of n, a(n) for n=0..81.

a(n) = ((n*7)-Xmult(n, 7))/4.

(PARI) a(n)=(7*n - bitxor(n, bitxor(2*n, 4*n)))/4 \\ Charles R Greathouse IV, Oct 03 2016

Sequence in context: A285723 A072328 A135040 * A309973 A298058 A298707

Adjacent sequences: A048730 A048731 A048732 * A048734 A048735 A048736

nonn,easy

Antti Karttunen

approved