OFFSET
1,2
REFERENCES
J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 83, p. 29, Ellipses, Paris 2008. Also Entry 137, p. 47.
LINKS
Eric Weisstein's World of Mathematics, Pi
EXAMPLE
1/sin(1) = 1.1883951; 1/sin(2) = 1.0997501; 1/sin(4) = - 1.3213487.
MAPLE
a:= evalf(1/sin(1)); for n from 2 to 10000000 do; if a > evalf(1/sin(n)) then a:= evalf(1/sin(n)); print(n); else fi ; od;
MATHEMATICA
vm = 2; s = {}; Do[v = 1/Sin[n]; If[v < vm, vm = v; AppendTo[s, n]], {n, 1, 110000}]; s (* Amiram Eldar, Aug 10 2019 *)
PROG
(PARI) lista(NN) = {my(x=2); for(k=1, NN, if(1/sin(k)<x, x=1/sin(k); print1(k", "))); } \\ Jinyuan Wang, Aug 12 2019
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Michel Lagneau, Feb 03 2010
EXTENSIONS
a(13) corrected and a(14) added by Amiram Eldar, Aug 10 2019
STATUS
approved