|
|
A044442
|
|
Numbers n such that string 0,0 occurs in the base 4 representation of n but not of n+1.
|
|
0
|
|
|
16, 32, 48, 67, 80, 96, 112, 131, 144, 160, 176, 195, 208, 224, 240, 272, 288, 304, 323, 336, 352, 368, 387, 400, 416, 432, 451, 464, 480, 496, 528, 544, 560, 579, 592, 608, 624, 643, 656, 672, 688, 707, 720, 736, 752, 784, 800
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Range[800], MemberQ[Partition[IntegerDigits[#, 4], 2, 1], {0, 0}] && !MemberQ[Partition[IntegerDigits[#+1, 4], 2, 1], {0, 0}]&] (* Harvey P. Dale, Feb 07 2012 *)
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 4], {0, 0}]>0, 1, 0], {n, 1000}], {1, 0}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jun 08 2021 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|