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

%I #7 Aug 28 2024 18:51:24

%S 14,95,134,176,257,338,419,500,581,662,743,824,863,905,986,1067,1214,

%T 1229,1310,1391,1472,1553,1592,1634,1715,1796,1877,1958,2039,2120,

%U 2201,2282,2321,2363,2444,2525,2606,2687,2768,2849

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,9],{1,5}]>0,1,0],{n,3000}],{1,0}][[;;,1]] (* _Harvey P. Dale_, Aug 28 2024 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_