%I #7 May 30 2021 10:25:46
%S 26,62,98,134,161,170,206,242,278,314,350,377,386,422,458,494,530,566,
%T 593,602,638,674,710,746,782,809,818,854,890,926,971,998,1025,1034,
%U 1070,1106,1142,1178,1214,1241,1250,1286,1322,1358
%N Numbers n such that string 4,2 occurs in the base 6 representation of n but not of n+1.
%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,6],{4,2}]>0,1,0],{n,1400}],{1,0}][[All,1]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, May 30 2021 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_