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.

A126564 a(n) = floor( sin(n)*cos(n) ).

Original entry on oeis.org

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, 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
Offset: 0

Views

Author

Rick L. Shepherd, Dec 27 2006

Keywords

Crossrefs

Programs

  • PARI
    a(n) = floor(sin(n)*cos(n))

Formula

a(n) = floor(sin(n)*cos(n)).
a(n) = floor(sin(2n)/2). [Wesley Ivan Hurt, Jun 22 2013]