|
|
A364572
|
|
Starting from k=7, each subsequent term is the next larger odd k such that A005940(k) >= k and the ratio A005940(k)/k is nearer to 1.0 than for any previous k in the sequence.
|
|
3
|
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
7 9 1.285714286 2
19 21 1.105263158 2
321 323 1.006230530 2
139307 139965 1.004723381 658
262365 263375 1.003849599 1010
264245 264845 1.002270620 600
528577 528581 1.000007567 4.
|
|
PROG
|
(PARI) print1(7, ", "); r = A005940(7)/7; forstep(n=7, 1+(2^26), 2, t=A005940(n)/n; if(t>=1 && t < r, r=t; print1(n, ", ")))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|