OFFSET
0,1
EXAMPLE
For n=1, the partial sums (for k = 0,1,2,3,4,5,6,7) are approximately 1, -18.7, 46.2, -39.2, 20.9, -5.4, 2.4, 0.7; beginning with k=6, the partials sums are all positive, so a(1)=6.
MATHEMATICA
z = 800; r = Pi;
f[m_, n_] := f[m, n] = N[Sum[(-1)^k (2 m r)^(2 k)/(2 k)!, {k, 0, n}], 10]
g[m_] := Select[Range[z], f[m, #] > 0 && f[m, # + 1] > 0 &, 1]
Flatten[Table[g[m], {m, 1, 80}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Oct 01 2024
STATUS
approved