OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
1 is a term since 1, 2 and 3 are all Gray-code Niven numbers.
MATHEMATICA
gcNivenQ[n_] := Divisible[n, DigitCount[BitXor[n, Floor[n/2]], 2, 1]]; Select[Range[3000], AllTrue[# + {0, 1, 2}, gcNivenQ] &]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Amiram Eldar, May 15 2021
STATUS
approved