[go: up one dir, main page]

login
A037448
a(n) = floor(cot(n)).
4
0, -1, -8, 0, -1, -4, 1, -1, -3, 1, -1, -2, 2, 0, -2, 3, 0, -1, 6, 0, -1, 112, 0, -1, -8, 0, -1, -4, 1, -1, -3, 1, -1, -2, 2, 0, -2, 3, 0, -1, 6, 0, -1, 56, 0, -1, -9, 0, -1, -4, 1, -1, -3, 1, -1, -2, 2, 0, -2, 3, 0, -1, 5, 0, -1, 37, 0, -1, -9, 0, -1, -4, 1, -1, -3, 1, -1, -2, 2, 0, -2, 3, 0, -1, 5, 0, -1, 28, 0, -1, -10, 0, -1, -4, 1, -1, -3
OFFSET
1,3
COMMENTS
Contains all integers infinitely often. - Charles R Greathouse IV, Aug 06 2012
PROG
(PARI) v=[]; for(n=1, 260, v=concat(v, floor(cotan(n)))); v
(Magma) [Floor(Cot(n)): n in [1..100]]; // Vincenzo Librandi, Jun 15 2015
KEYWORD
sign
AUTHOR
Jason Earls, Jun 30 2001
EXTENSIONS
a(44) corrected by T. D. Noe, Jan 21 2008
STATUS
approved