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

%I #7 Jan 08 2023 13:52:02

%S 24,105,186,224,267,348,429,510,591,672,753,834,915,953,996,1077,1158,

%T 1239,1320,1401,1482,1563,1644,1682,1725,1806,1887,2024,2049,2130,

%U 2211,2292,2373,2411,2454,2535,2616,2697,2778,2859

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,9],{2,6}]>0,1,0],{n,3000}],{1,0}][[All,1]] (* _Harvey P. Dale_, Jan 08 2023 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_