OFFSET
1,3
COMMENTS
LINKS
Clark Kimberling, Table of n, a(n) for n = 1..2000
FORMULA
a(n) ~ n / sqrt(2). - Vaclav Kotesovec, Oct 09 2014
Conjecture: a(n) = floor(sqrt(n^2/2 - 1) + 1/2), for n>1. - Ridouane Oudra, Sep 06 2023
EXAMPLE
Let s(n) = Sum_{h = 1..n} 1/h^5.
Approximations are shown here:
n ... zeta(5) - s(n) ... 1/n^4
1 ... 0.0369278 .... 1
2 ... 0.0056777 .... 0.0625
3 ... 0.0015625 .... 0.0123
4 ... 0.0005859 .... 0.0039
5 ... 0.0002659 .... 0.0016
6 ... 0.0001373 .... 0.0007
a(6) = 4 because zeta(5) - s(4) < 1/6^4 < zeta(5) - s(3).
MATHEMATICA
z = 400; p[k_] := p[k] = Sum[1/h^5, {h, 1, k}]; N[Table[Zeta[5] - p[n], {n, 1, z/10}]]
f[n_] := f[n] = Select[Range[z], Zeta[5] - p[#] < 1/n^4 &, 1]
u = Flatten[Table[f[n], {n, 1, z}]] (* A248231 *)
Flatten[Position[Differences[u], 0]] (* A248232 *)
Flatten[Position[Differences[u], 1]] (* A248233 *)
Table[Floor[1/(Zeta[5] - p[n])], {n, 1, z}] (* A248234 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Oct 05 2014
STATUS
approved