The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A340251 a(n) is the index of the bit that was inverted in A340250(n) to get A340250(n+1). 2
0, 1, 0, 2, 1, 0, 1, 3, 2, 1, 2, 0, 2, 1, 2, 4, 3, 2, 3, 1, 3, 2, 3, 0, 3, 2, 3, 1, 3, 2, 3, 5, 4, 3, 4, 2, 4, 3, 4, 1, 4, 3, 4, 2, 4, 3, 4, 0, 4, 3, 4, 2, 4, 3, 4, 1, 4, 3, 4, 2, 4, 3, 4, 6, 5, 4, 5, 3, 5, 4, 5, 2, 5, 4, 5, 3, 5, 4, 5, 1, 5, 4, 5, 3, 5, 4, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
LINKS
Rémy Sigrist, Colored scatterplot of the ordinal transform of the first 2^16 terms (where the color is function of a(n))
FORMULA
A340250(n+1) = A340250(n) XOR 2^a(n) (where XOR denotes the bitwise XOR operator).
PROG
(PARI) See Links section.
CROSSREFS
Cf. A340250.
Sequence in context: A341524 A175804 A241063 * A286957 A195017 A078806
KEYWORD
nonn,base
AUTHOR
Rémy Sigrist, Jan 02 2021
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 23 09:59 EDT 2024. Contains 372760 sequences. (Running on oeis4.)