login
Numbers k such that 2 and 4 occur juxtaposed in the base-6 representation of k but not of k+1.
0

%I #13 Dec 30 2022 18:09:59

%S 16,26,52,62,88,101,124,134,161,170,196,206,232,242,268,278,304,317,

%T 340,350,377,386,412,422,448,458,484,494,520,533,556,566,611,628,638,

%U 664,674,700,710,736,749,772,782,809,818,844,854

%N Numbers k such that 2 and 4 occur juxtaposed in the base-6 representation of k but not of k+1.

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,6],{2,4}]>0 ||SequenceCount[ IntegerDigits[n,6],{4,2}]>0,1,0],{n,1000}],{1,0}][[All,1]] (* _Harvey P. Dale_, Dec 30 2022 *)

%Y Cf. A007092.

%K nonn,base

%O 1,1

%A _Clark Kimberling_