login
A043101
Numbers k such that 0 and 2 occur juxtaposed in the base-4 representation of k but not of k-1.
0
8, 18, 24, 32, 40, 50, 56, 66, 72, 82, 88, 96, 104, 114, 120, 128, 146, 152, 160, 168, 178, 184, 194, 200, 210, 216, 224, 232, 242, 248, 258, 264, 274, 280, 288, 306, 312, 322, 328, 338, 344, 352, 360, 370, 376, 384, 402, 408, 416
OFFSET
1,1
MATHEMATICA
jxQ[n_]:=MemberQ[Sort/@Partition[IntegerDigits[n, 4], 2, 1], {0, 2}]; Select[ Range[450], jxQ[#]&&!jxQ[#-1]&] (* Harvey P. Dale, Feb 23 2012 *)
CROSSREFS
Cf. A007090.
Sequence in context: A273527 A051810 A034055 * A171607 A039278 A045043
KEYWORD
nonn,base
STATUS
approved