login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062300 a(n) = floor(cosec(Pi/(n+1))). 2
1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 23, 23, 23, 24, 24, 24, 25, 25 (list; graph; refs; listen; history; text; internal format)
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

Cf. A032615.

Sequence in context: A025787 A057810 A029917 * A231152 A086916 A008680

Adjacent sequences:  A062297 A062298 A062299 * A062301 A062302 A062303

KEYWORD

nonn,easy

AUTHOR

Amarnath Murthy, Jun 19 2001

EXTENSIONS

More terms from Jason Earls, Jun 22 2001

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 27 15:11 EST 2020. Contains 338683 sequences. (Running on oeis4.)