OFFSET
1,3
COMMENTS
a(167) > 10^10. - Robert G. Wilson v, Nov 04 2019
a(100), a(1000), and a(10000) have 5, 215, and 221 digits, respectively. - Jon E. Schoenfield, Nov 08 2019
a(n) is also the smallest nonnegative integer k such that k mod Pi is closer to Pi/2 than any previous term. - Colin Linzer, Apr 27 2022
LINKS
Jon E. Schoenfield, Table of n, a(n) for n = 1..1000 (first 166 terms from Robert G. Wilson v)
Eric Weisstein's World of Mathematics, Flint Hills Series
Eric Weisstein's World of Mathematics, Secant
EXAMPLE
After 151st term, the sequence continues 51819, 52174, 260515, 573204, 4846147, ...
|cos(4846147)| = 0.000000255689511369808141413171..., |cosec(4846147)| = 1.00000000000003268856311..., or |cot(4846147)| = 0.000000255689511369816499535901...
|tan(4846147)| = 3910993.43356970986068082..., |sec(4846147)| = 3910993.43356983770543651..., |sin(4846147)| = 0.999999999999967311436888...
MATHEMATICA
a = -1; Do[b = N[ Abs[ Tan[n]], 24]; If[b > a, Print[n]; a = b], {n, 0, 13833}]
PROG
(PARI) e=2; for(n=0, 1e9, abs(cos(n))<e & !print1(n", ") & e=abs(cos(n))) \\ M. F. Hasler, Apr 01 2013
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
EXTENSIONS
More terms from Olivier GĂ©rard
Edited by Robert G. Wilson v, Jan 28 2003
STATUS
approved