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.

A021337 Decimal expansion of 1/333.

Original entry on oeis.org

0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3, 0, 0, 3
Offset: 0

Views

Author

Keywords

Examples

			0.00300300300300300300300300300300300300300300300300...
		

Programs

Formula

G.f.: 3*x^2/(1 - x^3). - Chai Wah Wu, Jun 21 2016
From Wesley Ivan Hurt, Jul 02 2016: (Start)
a(n) = a(n-3) for n>2.
a(n) = 1 - cos(2*n*Pi/3) - sqrt(3)*sin(2*n*Pi/3).
a(n) = 3*(1 - sgn((n+1) mod 3)).
a(n) = 1 + (n mod 3) - ((n+1) mod 3). (End)