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

A044343
Numbers n such that string 1,1 occurs in the base 10 representation of n but not of n-1.
0
11, 110, 211, 311, 411, 511, 611, 711, 811, 911, 1011, 1100, 1211, 1311, 1411, 1511, 1611, 1711, 1811, 1911, 2011, 2110, 2211, 2311, 2411, 2511, 2611, 2711, 2811, 2911, 3011, 3110, 3211, 3311, 3411, 3511, 3611, 3711, 3811
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n], {1, 1}]>0, 1, 0], {n, 4000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 05 2019 *)
CROSSREFS
Sequence in context: A288136 A287500 A287536 * A132123 A190944 A115822
KEYWORD
nonn,base
STATUS
approved