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!)
A207460 Let a(1) = 4. For n > 1, a(n) is the least number greater than a(n-1) such that the Hamming distance D(a(n-1),a(n)) = 4. 1
4, 11, 16, 31, 35, 44, 49, 62, 70, 73, 82, 93, 97, 110, 112, 127, 143, 145, 158, 162, 173, 176, 191, 199, 200, 211, 220, 224, 239, 241, 254, 286, 290, 301, 304, 319, 327, 328, 339, 348, 352, 367, 369, 382, 398, 400, 415, 419 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
All terms are odious (A000069).
LINKS
MATHEMATICA
nxt[n_]:=Module[{k=n+1}, While[HammingDistance[PadLeft[IntegerDigits[ n, 2], IntegerLength[ k, 2]], IntegerDigits[k, 2]]!=4, k++]; k]; NestList[ nxt, 4, 50] (* Harvey P. Dale, Nov 07 2020 *)
CROSSREFS
Sequence in context: A005224 A054870 A197567 * A107988 A038241 A360134
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Feb 18 2012
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 16 13:17 EDT 2024. Contains 372552 sequences. (Running on oeis4.)