A344343 Starts of runs of 3 consecutive Gray-code Niven numbers (A344341).
1, 2, 6, 7, 14, 30, 31, 62, 126, 127, 174, 184, 234, 243, 254, 304, 474, 483, 510, 511, 534, 543, 544, 783, 784, 903, 904, 954, 963, 1022, 1134, 1144, 1253, 1264, 1448, 1475, 1504, 1895, 1914, 1923, 1974, 2046, 2047, 2093, 2094, 2104, 2814, 2888, 2944, 3054, 3064
Offset: 1
Examples
1 is a term since 1, 2 and 3 are all Gray-code Niven numbers.
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Crossrefs
Subsequences: A344344.
Programs
-
Mathematica
gcNivenQ[n_] := Divisible[n, DigitCount[BitXor[n, Floor[n/2]], 2, 1]]; Select[Range[3000], AllTrue[# + {0, 1, 2}, gcNivenQ] &]