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.

A000480 a(n) = floor(cos(n)).

Original entry on oeis.org

1, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1, 0, 0, 0, -1, -1, -1
Offset: 0

Views

Author

Keywords

Programs

  • Magma
    [Floor(Cos(n)): n in [0..100]]; // Wesley Ivan Hurt, Apr 21 2021
  • Maple
    f := n->floor(evalf(cos(n)));
  • Mathematica
    Table[Floor[Cos[n]], {n, 0, 100}]