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

%I #7 Mar 30 2024 17:38:20

%S 85,166,247,328,409,490,571,652,733,765,814,895,976,1057,1138,1219,

%T 1300,1381,1462,1494,1543,1624,1705,1786,1867,1948,2029,2110,2191,

%U 2223,2272,2353,2434,2515,2596,2677,2758,2839,2920

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,9],{0,4}]>0,1,0],{n,3000}],{0,1}][[;;,2]] (* _Harvey P. Dale_, Mar 30 2024 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_