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”).

A032973
Numbers with the property that all pairs of consecutive digits differ by more than 1.
0
1, 2, 3, 4, 5, 6, 7, 8, 9, 13, 14, 15, 16, 17, 18, 19, 20, 24, 25, 26, 27, 28, 29, 30, 31, 35, 36, 37, 38, 39, 40, 41, 42, 46, 47, 48, 49, 50, 51, 52, 53, 57, 58, 59, 60, 61, 62, 63, 64, 68, 69, 70, 71, 72, 73, 74, 75, 79, 80, 81, 82, 83, 84
OFFSET
1,2
MATHEMATICA
Select[Range[100], Min[Abs[Differences[IntegerDigits[#]]]]>1&] (* Harvey P. Dale, May 29 2021 *)
CROSSREFS
Sequence in context: A342951 A342264 A094823 * A174887 A092598 A247811
KEYWORD
nonn,base
STATUS
approved