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.

A084104 A period 6 sequence.

Original entry on oeis.org

1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7, 7, 4, 1, 1, 4, 7
Offset: 0

Views

Author

Paul Barry, May 15 2003

Keywords

Comments

Partial sums of A084103.

Crossrefs

Programs

  • PARI
    {a(n)=[1, 4, 7, 7, 4, 1][n%6+1]}
    
  • PARI
    a(n)=2*sqrt(3)*sin((n+5)*Pi/3)+4 \\ Jaume Oliver Lafont, Aug 27 2009

Formula

Euler transform of length 6 sequence [ 4, -3, -1, 0, 0, 1]. - Michael Somos, Nov 07 2006
G.f.: (1+x)^3/((1-x)(1+x^3)).
G.f.:(1+x)^2/((1-x)*(1-x+x^2)). - Jaume Oliver Lafont, Aug 27 2009