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

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

%I #15 Feb 12 2021 22:02:10

%S 1,2,3,4,5,7,8,9,10,12,13,14,16,17,21,22,23,25,26,27,28,30,31,32,36,

%T 37,39,40,41,43,44,48,49,50,52,53,63,64,66,67,68,70,71,75,76,77,79,80,

%U 81,82,84,85,86,90,91,93,94,95,97,98,108,109,111

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

%H <a href="/index/Ar#3-automatic">Index entries for 3-automatic sequences</a>.

%t Select[Range[120],Max[Abs[Differences[IntegerDigits[#,3]]]]<2&] (* _Harvey P. Dale_, Nov 06 2016 *)

%Y A122975 is a subsequence.

%Y Cf. A007089.

%K nonn,base,easy

%O 1,2

%A _Clark Kimberling_