# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a332996 Showing 1-1 of 1 %I A332996 #11 Mar 10 2020 00:29:19 %S A332996 0,0,0,1,0,0,2,2,0,1,0,0,4,5,4,5,0,0,2,2,0,1,0,0,8,8,10,11,8,8,10,10, %T A332996 0,1,0,0,4,5,4,5,0,0,2,2,0,1,0,0,16,17,16,17,20,20,22,23,16,17,16,16, %U A332996 20,21,20,21,0,0,2,2,0,1,0,0,8,8,10,11,8,8,10,10,0,1,0,0,4,5,4,5,0,0,2,2,0,1,0,0,32,32,34,35,32,32,34,34,40,41 %N A332996 a(n) = A332896(A332817(n)). %C A332996 In contrast to similarly constructed A292274, this sequence can be computed directly from the binary expansion of n, without involving primes or their distribution at all. %H A332996 Antti Karttunen, Table of n, a(n) for n = 0..16383 %H A332996 Antti Karttunen, Data supplement: n, a(n) computed for n = 0..65537 %H A332996 Index entries for sequences related to binary expansion of n %F A332996 a(n) = A332896(A332817(n)). %F A332996 a(n) = n - A332995(n) = n XOR A332995(n). %F A332996 A000120(a(n)) = A332998(n). %o A332996 (PARI) A332996(n) = A332896(A332817(n)); %Y A332996 Cf. A292274, A332817, A332896, A332995, A332998. %Y A332996 Differs from a similarly constructed A292592 for the first time at n=511, where a(511) = 170, while A292592(511) = 171. %K A332996 nonn %O A332996 0,7 %A A332996 _Antti Karttunen_, Mar 05 2020 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE