login
A044063
Numbers n such that string 0,2 occurs in the base 4 representation of n but not of n-1.
0
18, 34, 50, 66, 72, 82, 98, 114, 130, 136, 146, 162, 178, 194, 200, 210, 226, 242, 258, 264, 274, 288, 306, 322, 328, 338, 354, 370, 386, 392, 402, 418, 434, 450, 456, 466, 482, 498, 514, 520, 530, 544, 562, 578, 584, 594, 610
OFFSET
1,1
MATHEMATICA
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 4], {0, 2}]>0, 1, 0], {n, 700}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 05 2019 *)
CROSSREFS
Sequence in context: A190150 A347369 A357439 * A044444 A250770 A014640
KEYWORD
nonn,base
STATUS
approved