login
A176265
a(n) = floor(abs(n*cos(n))).
1
0, 0, 2, 2, 1, 5, 5, 1, 8, 8, 0, 10, 11, 1, 11, 15, 4, 11, 18, 8, 11, 21, 12, 10, 24, 16, 7, 26, 21, 4, 28, 26, 0, 28, 31, 4, 28, 36, 10, 26, 40, 16, 23, 43, 23, 19, 46, 30, 14, 48, 37, 8, 48, 44, 1, 47, 51, 6, 45, 57, 15, 41, 62, 25, 36, 65, 34, 29, 68, 44, 21, 69, 53, 12, 69, 62, 2
OFFSET
1,3
LINKS
MAPLE
seq(floor(abs(n*cos(n))), n = 1..80); # G. C. Greubel, Nov 24 2019
MATHEMATICA
Table[Floor@Abs[n*Cos[n]], {n, 80}]
PROG
(PARI) vector(80, n, (abs(n*cos(n)))\1 ) \\ G. C. Greubel, Nov 24 2019
(Magma) [Floor(Abs(n*Cos(n))): n in [1..80]]; // G. C. Greubel, Nov 24 2019
(Sage) [floor(abs(n*cos(n))) for n in (1..80)] # G. C. Greubel, Nov 24 2019
CROSSREFS
Sequence in context: A079220 A158068 A210879 * A187307 A280785 A204851
KEYWORD
nonn
AUTHOR
STATUS
approved