login
A372456
a(n) = 1 if abs(tan(n)) > 1, 0 otherwise.
1
1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1
OFFSET
1,1
LINKS
EXAMPLE
For n = 43, tan(43) = -1.498387339..., and abs(-1.498387339...) > 1, so a(43) = 1.
MATHEMATICA
Table[Boole[Abs[Tan[n]] > 1], {n, 1, 100}] (* Amiram Eldar, May 02 2024 *)
PROG
(PARI) a(n) = abs(tan(n)) > 1; \\ Michel Marcus, May 01 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ahmad J. Masad, May 01 2024
STATUS
approved