|
|
A044066
|
|
Numbers n such that string 1,1 occurs in the base 4 representation of n but not of n-1.
|
|
0
|
|
|
5, 20, 37, 53, 69, 80, 101, 117, 133, 148, 165, 181, 197, 212, 229, 245, 261, 276, 293, 309, 320, 389, 404, 421, 437, 453, 468, 485, 501, 517, 532, 549, 565, 581, 592, 613, 629, 645, 660, 677, 693, 709, 724, 741, 757, 773, 788
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
Transpose[SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 4], {1, 1}]>0, 1, 0], {n, 800}], {0, 1}]][[2]] (* The program uses the SequencePosition and SequenceCount functions from Mathematica version 10 *) (* Harvey P. Dale, Nov 28 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|