login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

%I #7 Jun 20 2019 15:44:31

%S 84,165,246,327,408,489,570,651,732,756,813,894,975,1056,1137,1218,

%T 1299,1380,1461,1485,1542,1623,1704,1785,1866,1947,2028,2109,2190,

%U 2214,2271,2352,2433,2514,2595,2676,2757,2838,2919

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

%t SequencePosition[Table[If[SequenceCount[IntegerDigits[n,9],{0,3}]>0,1,0],{n,3000}],{0,1}][[All,2]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Jun 20 2019 *)

%K nonn,base

%O 1,1

%A _Clark Kimberling_