OFFSET
1,1
COMMENTS
All terms are odious (A000069).
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
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
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Feb 18 2012
STATUS
approved