[go: up one dir, main page]

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

%I #7 Sep 08 2021 14:55:16

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

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

%U 2151,2232,2313,2394,2475,2556,2592,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,2800}],{0,1}][[All,2]] (* _Harvey P. Dale_, Sep 08 2021 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_