|
|
A080157
|
|
Greedy frac multiples of gamma: a(1)=1, sum(n>0,frac(a(n)*x))=1 at x=gamma, where "frac(y)" denotes the fractional part of y.
|
|
1
|
|
|
1, 2, 7, 9, 26, 52, 149, 272, 395, 790, 1185, 1580, 5653, 10911, 16169, 26685, 58628, 85313, 117256, 175884, 559595, 2179752, 5420066
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(3) = 7 since frac(1x) + frac(2x) + frac(7x) < 1, while frac(1x) + frac(2x) + frac(k*x) > 1 for all k>2 and k<7.
|
|
MAPLE
|
Digits := 1000: a := []: s := 0: x := evalf(gamma): for n from 1 to 10000000 do: temp := evalf(s+frac(n*x)): if (temp<1.0) then a := [op(a), n]: print(n): s := s+evalf(frac(n*x)): fi: od: a;
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Mark Hudson (mrmarkhudson(AT)hotmail.com), Jan 31 2003
|
|
STATUS
|
approved
|
|
|
|