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”).

A044300
Numbers n such that string 5,4 occurs in the base 9 representation of n but not of n-1.
0
49, 130, 211, 292, 373, 441, 454, 535, 616, 697, 778, 859, 940, 1021, 1102, 1170, 1183, 1264, 1345, 1426, 1507, 1588, 1669, 1750, 1831, 1899, 1912, 1993, 2074, 2155, 2236, 2317, 2398, 2479, 2560, 2628, 2641, 2722, 2803
OFFSET
1,1
MATHEMATICA
Flatten[Position[Partition[Table[If[MemberQ[Partition[ IntegerDigits[ n, 9], 2, 1], {5, 4}], 1, 0], {n, 3000}], 2, 1], {0, 1}]]+1 (* Harvey P. Dale, Feb 04 2015 *)
CROSSREFS
Sequence in context: A130007 A378629 A202331 * A044681 A250311 A211727
KEYWORD
nonn,base
STATUS
approved