OFFSET
0,2
COMMENTS
The complement of this sequence is 2, 6, 36, and 260, for all values up to 1000.
For n > 0, these values are actually k + 1. - Sean A. Irvine, Oct 01 2024
MATHEMATICA
f[n_] := Block[{k = 1, s = 0}, While[s < n, s = s + Cos[1/Sqrt[k]]; k++ ]; k]; Table[ f[n], {n, 0, 60} ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Aug 01 2002
STATUS
approved