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

A044452
Numbers n such that string 2,2 occurs in the base 4 representation of n but not of n+1.
0
10, 26, 43, 58, 74, 90, 107, 122, 138, 154, 175, 186, 202, 218, 235, 250, 266, 282, 299, 314, 330, 346, 363, 378, 394, 410, 431, 442, 458, 474, 491, 506, 522, 538, 555, 570, 586, 602, 619, 634, 703, 714, 730, 747, 762, 778, 794, 811, 826, 842, 858, 875, 890
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 4], {2, 2}]>0, 1, 0], {n, 1200}], {1, 0}][[All, 1]](* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 19 2019 *)
CROSSREFS
Sequence in context: A113770 A223451 A229309 * A299409 A198017 A137351
KEYWORD
nonn,base
EXTENSIONS
More terms from Harvey P. Dale, Nov 19 2019
STATUS
approved