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

A044069
Numbers n such that string 2,0 occurs in the base 4 representation of n but not of n-1.
0
8, 24, 32, 40, 56, 72, 88, 96, 104, 120, 128, 152, 160, 168, 184, 200, 216, 224, 232, 248, 264, 280, 288, 296, 312, 328, 344, 352, 360, 376, 384, 408, 416, 424, 440, 456, 472, 480, 488, 504, 512, 584, 600, 608, 616, 632, 640, 664
OFFSET
1,1
MATHEMATICA
Select[Range[700], MemberQ[Partition[IntegerDigits[#, 4], 2, 1], {2, 0}] && !MemberQ[Partition[IntegerDigits[#-1, 4], 2, 1], {2, 0}]&] (* Harvey P. Dale, Jun 14 2013 *)
CROSSREFS
Sequence in context: A340930 A269420 A056196 * A028628 A333427 A128690
KEYWORD
nonn,base
STATUS
approved