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

%I #7 May 05 2020 13:40:52

%S 9,72,137,201,265,329,393,457,521,576,649,713,777,841,905,969,1033,

%T 1096,1161,1225,1289,1353,1417,1481,1545,1608,1673,1737,1801,1865,

%U 1929,1993,2057,2120,2185,2249,2313,2377,2441,2505

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,8],{1,1}]>0,1,0],{n,3000}],{0,1}][[All,2]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, May 05 2020 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_