OFFSET
1,2
COMMENTS
It is also the nearest integer to sinc(x)^(-1) function.
LINKS
Bence Bernáth, Table of n, a(n) for n = 1..10000
Wikipedia, Sinc function
EXAMPLE
For n=3, 3/sin(3) = 21.25..., therefore a(3) = 21.
MATHEMATICA
Table[Round[n/Sin[n]], {n, 1, 100}]
PROG
(PARI) a(n) = round(n/sin(n)); \\ Michel Marcus, Nov 20 2022
CROSSREFS
KEYWORD
sign,look
AUTHOR
Bence Bernáth, Nov 20 2022
STATUS
approved