%I #7 Oct 11 2018 15:19:37
%S 26,62,98,134,156,170,206,242,278,314,350,372,386,422,458,494,530,566,
%T 588,602,638,674,710,746,782,804,818,854,890,926,936,998,1020,1034,
%U 1070,1106,1142,1178,1214,1236,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,1500}],{0,1}][[All,2]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Oct 11 2018 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_
|