|
|
A044120
|
|
Numbers n such that string 3,0 occurs in the base 6 representation of n but not of n-1.
|
|
1
|
|
|
18, 54, 90, 108, 126, 162, 198, 234, 270, 306, 324, 342, 378, 414, 450, 486, 522, 540, 558, 594, 630, 648, 702, 738, 756, 774, 810, 846, 882, 918, 954, 972, 990, 1026, 1062, 1098, 1134, 1170, 1188, 1206, 1242, 1278, 1314, 1350
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
MATHEMATICA
|
SequencePosition[Table[If[SequenceCount[IntegerDigits[n, 6], {3, 0}]>0, 1, 0], {n, 1500}], {0, 1}][[All, 2]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Apr 23 2019 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|