login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A048733
a(n) = A048730(n)/4.
4
0, 0, 0, 3, 0, 2, 6, 7, 0, 0, 4, 7, 12, 14, 14, 15, 0, 0, 0, 3, 8, 10, 14, 15, 24, 24, 28, 31, 28, 30, 30, 31, 0, 0, 0, 3, 0, 2, 6, 7, 16, 16, 20, 23, 28, 30, 30, 31, 48, 48, 48, 51, 56, 58, 62, 63, 56, 56, 60, 63, 60, 62, 62, 63, 0, 0, 0, 3, 0, 2, 6, 7, 0, 0, 4, 7, 12, 14, 14, 15, 32, 32
OFFSET
0,4
COMMENTS
A048715 gives all n for which a(n) = 0, A048717 gives all n for which a(n) = n.
FORMULA
a(n) = ((n*7)-Xmult(n, 7))/4.
PROG
(PARI) a(n)=(7*n - bitxor(n, bitxor(2*n, 4*n)))/4 \\ Charles R Greathouse IV, Oct 03 2016
CROSSREFS
Sequence in context: A285723 A072328 A135040 * A309973 A298058 A298707
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen
STATUS
approved