login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A000484
a(n) = round(cos(n)).
7
1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0, -1, -1, 0, 1, 1, 0
OFFSET
0,1
MAPLE
f := n->round(evalf(cos(n)));
MATHEMATICA
Array[ Round[ Cos[ # ] // N ]&, 90, 0 ]
CROSSREFS
Sequence in context: A016345 A016148 A016333 * A014978 A015947 A015590
KEYWORD
sign,easy
STATUS
approved