login
a(n) = A048730(n)/4.
4

%I #5 Oct 03 2016 13:21:06

%S 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,

%T 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,

%U 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

%N a(n) = A048730(n)/4.

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

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

%o (PARI) a(n)=(7*n - bitxor(n, bitxor(2*n, 4*n)))/4 \\ _Charles R Greathouse IV_, Oct 03 2016

%K nonn,easy

%O 0,4

%A Antti Karttunen