|
|
A043104
|
|
Numbers k such that 1 and 3 occur juxtaposed in the base-4 representation of k but not of k-1.
|
|
0
|
|
|
7, 13, 23, 28, 39, 45, 52, 61, 71, 77, 87, 92, 103, 109, 112, 135, 141, 151, 156, 167, 173, 180, 189, 199, 205, 208, 231, 237, 244, 253, 263, 269, 279, 284, 295, 301, 308, 317, 327, 333, 343, 348, 359, 365, 368, 391, 397, 407, 412
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 4], {1, 3}]>0 || SequenceCount[IntegerDigits[n, 4], {3, 1}]>0, 1, 0], {n, 450}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 12 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|