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.

A131731 Period 4: repeat [2, -3, 4, -3].

Original entry on oeis.org

2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3, 2, -3, 4, -3
Offset: 0

Views

Author

Paul Curtz, Sep 17 2007

Keywords

Formula

From Luce ETIENNE, Mar 25 2017: (Start)
a(n)= (6*(-1)^n-(-1)^((2*n+1-(-1)^n)/4)-(-1)^((2*n-1+(-1)^n)/4))/2.
a(n) = 3*cos(n*Pi)-cos(n*Pi/2). (End)

Extensions

Better name from Joerg Arndt, Apr 02 2017