OFFSET
0,4
FORMULA
a(n) ~ n^2 / Pi. - Vaclav Kotesovec, Apr 03 2024
EXAMPLE
a(4) = 5: (2/1) * (4/3) * (6/5) * (8/7) * (10/9) = 256 / 63 = 4.063492... > 4.
MATHEMATICA
a[n_] := For[k = 1, True, k++, If[(2 k)!!/(2 k - 1)!! >= n, Return[k]]]; Table[a[n], {n, 0, 55}]
PROG
(PARI) a(n) = my(k=1); while (prod(i=1, k, 1 + 1/(2*i-1)) < n, k++); k; \\ Michel Marcus, Apr 03 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 03 2024
STATUS
approved