login
Numbers with the property that all pairs of consecutive base-9 digits differ by 0 or 1.
1

%I #12 Feb 13 2021 01:12:53

%S 1,2,3,4,5,6,7,8,9,10,11,19,20,21,29,30,31,39,40,41,49,50,51,59,60,61,

%T 69,70,71,79,80,81,82,90,91,92,100,101,102,171,172,173,181,182,183,

%U 191,192,193,262,263,264,272,273,274,282,283,284

%N Numbers with the property that all pairs of consecutive base-9 digits differ by 0 or 1.

%H Harvey P. Dale, <a href="/A032980/b032980.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Range[300],Max[Abs[Differences[IntegerDigits[#,9]]]]<2&] (* _Harvey P. Dale_, Oct 15 2014 *)

%Y Cf. A007095.

%K nonn,base

%O 1,2

%A _Clark Kimberling_