login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A332996 a(n) = A332896(A332817(n)). 3
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,7
COMMENTS
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.
LINKS
FORMULA
a(n) = A332896(A332817(n)).
a(n) = n - A332995(n) = n XOR A332995(n).
A000120(a(n)) = A332998(n).
PROG
(PARI) A332996(n) = A332896(A332817(n));
CROSSREFS
Differs from a similarly constructed A292592 for the first time at n=511, where a(511) = 170, while A292592(511) = 171.
Sequence in context: A242284 A333624 A306595 * A292592 A292274 A317675
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 05 2020
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)