OFFSET
1,5
COMMENTS
cosec = 1/sin. - Kevin Ryde observes that this sequences is up to the offset almost identical to A032615(n) = floor(n/Pi): the values differ after n=6 for the first time again at n=80143857. Robert Israel shows that we can nonetheless expect infinitely many differences. See the posts on the SeqFan list for details. - M. F. Hasler, Oct 19 2016
LINKS
Harry J. Smith, Table of n, a(n) for n=1..1000
R. Israel, in reply to K. Ryde, Re: nearly equal floor(n/Pi) A032615 and A062300, SeqFan list, Oct 19 2016
EXAMPLE
a(99) = 31 as cosec{Pi/100} =31.8362252090976229556628738787913...
PROG
(PARI) v=vector(150, n, floor(1/sin(Pi/(n+1)))) \\ Warning: for n=5 this may yield an incorrect value of 1 instead of a(n)=2, depending on default(realprecision).
(PARI) { default(realprecision, 50); for (n=1, 1000, write("b062300.txt", n, " ", floor(1/sin(Pi/(n+1)))) ) } \\ Harry J. Smith, Aug 04 2009
(PARI) A062300(n, e=.1^precision(.1))=1\sin(Pi/(n+1+e)) \\ M. F. Hasler, Oct 19 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, Jun 19 2001
EXTENSIONS
More terms from Jason Earls, Jun 22 2001
STATUS
approved