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

%I #7 Oct 01 2024 19:01:04

%S 49,130,211,292,373,449,454,535,616,697,778,859,940,1021,1102,1178,

%T 1183,1264,1345,1426,1507,1588,1669,1750,1831,1907,1912,1993,2074,

%U 2155,2236,2317,2398,2479,2560,2636,2641,2722,2803

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

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

%K nonn,base

%O 1,1

%A _Clark Kimberling_