%I #7 Jun 09 2016 15:13:45
%S 22,58,94,130,137,166,202,238,274,310,346,353,382,418,454,490,526,562,
%T 569,598,634,670,706,742,778,785,827,850,886,922,958,994,1001,1030,
%U 1066,1102,1138,1174,1210,1217,1246,1282,1318,1354
%N Numbers n such that string 3,4 occurs in the base 6 representation of n but not of n+1.
%t Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n,6],{3,4}]>0,1,0],{n,1500}],{1,0}]][[1]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* _Harvey P. Dale_, Jun 09 2016 *)
%K nonn,base
%O 1,1
%A _Clark Kimberling_
|