login
A032972
Numbers with the property that all pairs of consecutive base-9 digits differ by more than 1.
0
1, 2, 3, 4, 5, 6, 7, 8, 12, 13, 14, 15, 16, 17, 18, 22, 23, 24, 25, 26, 27, 28, 32, 33, 34, 35, 36, 37, 38, 42, 43, 44, 45, 46, 47, 48, 52, 53, 54, 55, 56, 57, 58, 62, 63, 64, 65, 66, 67, 68, 72, 73, 74, 75, 76, 77, 78, 108, 109, 113, 114, 115
OFFSET
1,2
MATHEMATICA
Select[Range[120], Min[Abs[Differences[IntegerDigits[#, 9]]]]>1&] (* Harvey P. Dale, Nov 06 2012 *)
CROSSREFS
Sequence in context: A080543 A285916 A119797 * A210585 A240082 A321334
KEYWORD
nonn,base
STATUS
approved