cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A372456 a(n) = 1 if abs(tan(n)) > 1, 0 otherwise.

Original entry on oeis.org

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

Views

Author

Ahmad J. Masad, May 01 2024

Keywords

Examples

			For n = 43, tan(43) = -1.498387339..., and abs(-1.498387339...) > 1, so a(43) = 1.
		

Crossrefs

Programs

  • Mathematica
    Table[Boole[Abs[Tan[n]] > 1], {n, 1, 100}] (* Amiram Eldar, May 02 2024 *)
  • PARI
    a(n) = abs(tan(n)) > 1; \\ Michel Marcus, May 01 2024