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

%I #7 Dec 01 2018 11:26:22

%S 22,86,150,176,214,278,342,406,470,534,598,662,688,726,790,854,918,

%T 982,1046,1110,1174,1200,1238,1302,1366,1408,1494,1558,1622,1686,1712,

%U 1750,1814,1878,1942,2006,2070,2134,2198,2224,2262

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,8],{2,6}]>0,1,0],{n,2500}],{0,1}][[All,2]] (* _Harvey P. Dale_, Dec 01 2018 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_