A032979 Numbers with the property that all pairs of consecutive base-8 digits differ by 0 or 1.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 17, 18, 19, 26, 27, 28, 35, 36, 37, 44, 45, 46, 53, 54, 55, 62, 63, 64, 65, 72, 73, 74, 81, 82, 83, 136, 137, 138, 145, 146, 147, 154, 155, 156, 209, 210, 211, 218, 219, 220, 227, 228, 229, 282, 283, 284
Offset: 1
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A007094.
Programs
-
Mathematica
Select[Range[300],Max[Abs[Differences[IntegerDigits[#,8]]]]<2&] (* Harvey P. Dale, Dec 23 2020 *)