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

%I #7 Dec 24 2021 14:59:32

%S 45,126,207,288,369,413,450,531,612,693,774,855,936,1017,1098,1142,

%T 1179,1260,1341,1422,1503,1584,1665,1746,1827,1871,1908,1989,2070,

%U 2151,2232,2313,2394,2475,2556,2600,2637,2718,2799

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,9],{5,0}]>0,1,0],{n,3000}],{1,0}][[All,1]] (* _Harvey P. Dale_, Dec 24 2021 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_