login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A033073
Numbers with the property that all pairs of consecutive base-8 digits differ by 1.
0
1, 2, 3, 4, 5, 6, 7, 8, 10, 17, 19, 26, 28, 35, 37, 44, 46, 53, 55, 62, 65, 81, 83, 136, 138, 154, 156, 209, 211, 227, 229, 282, 284, 300, 302, 355, 357, 373, 375, 428, 430, 446, 501, 503, 520, 522, 648, 650, 666, 668, 1089, 1105, 1107
OFFSET
1,2
MATHEMATICA
Join[Range[7], Select[Range[2000], Union[Abs[Differences[IntegerDigits[#, 8]]]]=={1}&]] (* Harvey P. Dale, Dec 28 2011 *)
CROSSREFS
Sequence in context: A127273 A143287 A271952 * A369406 A306111 A039172
KEYWORD
nonn,base
STATUS
approved