login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

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

%I #7 Jan 16 2017 15:28:25

%S 23,48,73,98,115,123,148,173,198,223,240,248,273,298,323,348,365,373,

%T 398,423,448,473,490,498,523,548,573,575,615,623,648,673,698,723,740,

%U 748,773,798,823,848,865,873,898,923,948,973

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,5],{4,3}]>0,1,0],{n,1000}],{0,1}][[All,2]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Jan 16 2017 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_