login
A328376
a(n) = floor(abs(tan(n))).
2
0, 1, 2, 0, 1, 3, 0, 0, 6, 0, 0, 225, 0, 0, 7, 0, 0, 3, 1, 0, 2, 1, 0, 1, 2, 0, 1, 3, 0, 0, 6, 0, 0, 75, 0, 0, 7, 0, 0, 3, 1, 0, 2, 1, 0, 1, 2, 0, 1, 3, 0, 0, 6, 0, 0, 45, 0, 0, 8, 0, 0, 3, 1, 0, 2, 1, 0, 1, 2, 0, 1, 3, 0, 0, 5, 0, 0, 32, 0, 0, 9, 0, 0, 3, 1, 0, 2, 1, 0, 1, 1, 0, 1, 2, 0, 0, 5, 0, 0, 25, 0, 0, 9, 0, 0, 4
OFFSET
0,3
LINKS
EXAMPLE
Rounding each decimal to 2 places.
a(1) = floor(abs(tan(1))) = floor(abs(1.55)) = floor(1.55) = 1.
a(11) = floor(abs(tan(11))) = floor(abs(-225.95)) = floor(225.95) = 225.
MATHEMATICA
Table[Floor[Abs[Tan[n]]], {n, 100}] (* Peter Kagey, Oct 14 2019 *)
PROG
(PARI) a(n) = floor(abs(tan(n))); \\ Michel Marcus, Oct 17 2019
CROSSREFS
Cf. A000503 (floor(tan(n))).
Sequence in context: A364021 A363899 A119900 * A141097 A278045 A096335
KEYWORD
nonn,look
AUTHOR
Nicholas Pieterse, Oct 14 2019
STATUS
approved