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!)
A352708 a(1) = 1, and for any n > 1, A109812(n) is the a(n)-th positive number k such that A109812(n-1) AND k = 0 (where AND denotes the bitwise AND operator). 3
1, 1, 2, 3, 2, 5, 3, 4, 6, 3, 5, 6, 5, 7, 4, 7, 3, 9, 10, 7, 5, 11, 6, 13, 5, 7, 6, 15, 4, 22, 7, 9, 13, 7, 9, 13, 7, 10, 15, 6, 27, 5, 19, 7, 11, 11, 12, 23, 7, 16, 29, 7, 17, 15, 7, 17, 23, 7, 18, 22, 11, 13, 13, 14, 14, 13, 11, 14, 15, 9, 27, 7, 19, 15, 12 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
To compute the binary expansion of a(n) (for n > 1):
- take the binary expansion of A109812(n)
- and remove the bits corresponding to the 1's in the binary expansion of A109812(n-1).
LINKS
Rémy Sigrist, C++ program
PROG
(C++) See Links section.
CROSSREFS
Cf. A109812.
Sequence in context: A361624 A162398 A131470 * A255709 A285512 A232928
KEYWORD
nonn,look,base
AUTHOR
Rémy Sigrist, Mar 30 2022
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 May 11 07:10 EDT 2024. Contains 372388 sequences. (Running on oeis4.)