|
|
A043121
|
|
Numbers k such that 1 and 2 occur juxtaposed in the base-6 representation of k but not of k-1.
|
|
0
|
|
|
8, 13, 44, 48, 78, 85, 116, 121, 152, 157, 188, 193, 224, 229, 260, 264, 288, 332, 337, 368, 373, 404, 409, 440, 445, 468, 510, 517, 548, 553, 584, 589, 620, 625, 656, 661, 692, 696, 726, 733, 764, 769, 800, 805, 836, 841, 872
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {1, 2}]>0 || SequenceCount[IntegerDigits[n, 6], {2, 1}]>0, 1, 0], {n, 1000}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Nov 27 2016 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|