login
Numbers n such that string 5,2 occurs in the base 6 representation of n but not of n+1.
0

%I #7 Nov 27 2021 20:49:50

%S 32,68,104,140,176,197,212,248,284,320,356,392,413,428,464,500,536,

%T 572,608,629,644,680,716,752,788,824,845,860,896,932,968,1004,1040,

%U 1061,1076,1112,1148,1187,1220,1256,1277,1292,1328

%N Numbers n such that string 5,2 occurs in the base 6 representation of n but not of n+1.

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,6],{5,2}]>0,1,0],{n,1500}],{1,0}][[All,1]] (* _Harvey P. Dale_, Nov 27 2021 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_