login
A033079
Numbers in which all pairs of consecutive base-8 digits differ by 3.
0
0, 1, 2, 3, 4, 5, 6, 7, 12, 21, 24, 30, 33, 39, 42, 51, 60, 97, 103, 170, 195, 243, 268, 316, 341, 408, 414, 481, 487, 780, 828, 1365, 1560, 1566, 1944, 1950, 2145, 2151, 2529, 2535, 2730, 3267, 3315, 3852, 3900, 6241, 6247, 6625, 6631, 10922, 12483, 12531, 15555
OFFSET
1,3
MATHEMATICA
Join[{0, 1, 2, 3, 4, 5, 6, 7}, Select[Range[20000], Union[Abs[Differences[ IntegerDigits[ #, 8]]]]=={3}&]] (* Harvey P. Dale, Apr 12 2013 *)
CROSSREFS
Sequence in context: A129978 A251556 A200446 * A173819 A165305 A125745
KEYWORD
nonn,base
EXTENSIONS
Extended by Harvey P. Dale, Apr 12 2013
STATUS
approved