(Translated by https://www.hiragana.jp/)
A044065 - OEIS
login
A044065
Numbers n such that string 1,0 occurs in the base 4 representation of n but not of n-1.
0
4, 16, 36, 52, 64, 100, 116, 132, 144, 164, 180, 196, 208, 228, 244, 256, 356, 372, 388, 400, 420, 436, 452, 464, 484, 500, 516, 528, 548, 564, 576, 612, 628, 644, 656, 676, 692, 708, 720, 740, 756, 772, 784, 804, 820, 832, 868
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 4], {1, 0}]>0, 1, 0], {n, 900}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 26 2017 *)
CROSSREFS
Sequence in context: A104125 A014727 A174597 * A281795 A063540 A349223
KEYWORD
nonn,base
STATUS
approved