[go: up one dir, main page]

login
A000480
a(n) = floor(cos(n)).
6
1, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1
OFFSET
0,1
MAPLE
f := n->floor(evalf(cos(n)));
MATHEMATICA
Table[Floor[Cos[n]], {n, 0, 100}]
PROG
(Magma) [Floor(Cos(n)): n in [0..100]]; // Wesley Ivan Hurt, Apr 21 2021
CROSSREFS
Sequence in context: A280711 A293164 A230298 * A118251 A209198 A282343
KEYWORD
sign,easy
STATUS
approved