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

%I #14 Feb 13 2021 01:12:49

%S 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,

%T 63,64,65,72,73,74,81,82,83,136,137,138,145,146,147,154,155,156,209,

%U 210,211,218,219,220,227,228,229,282,283,284

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

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

%t Select[Range[300],Max[Abs[Differences[IntegerDigits[#,8]]]]<2&] (* _Harvey P. Dale_, Dec 23 2020 *)

%Y Cf. A007094.

%K nonn,base

%O 1,2

%A _Clark Kimberling_