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.

A236398 Period 4: repeat 1,1,2,1.

Original entry on oeis.org

1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1
Offset: 1

Views

Author

N. J. A. Sloane, Jan 29 2014

Keywords

References

  • H. Blaine Lawson, Jr. and M.-L. Michelsohn, Spin Geometry, Princeton, p. 33.

Crossrefs

Programs

Formula

a(n) = a(n-4) for n > 4. G.f.: x*(1 + x + 2*x^2 + x^3)/(1 - x^4). - Chai Wah Wu, Jun 04 2016
E.g.f.: (-2 - sin(x) + 3*sinh(x) + 2*cosh(x))/2. - Ilya Gutkovskiy, Jun 04 2016
a(n) = (5-cos(n*Pi)-2*sin(n*Pi/2))/4. - Luce ETIENNE, Feb 17 2017

Extensions

Definition corrected by Paul Curtz. - N. J. A. Sloane, Oct 10 2016