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.

A010884 Period 5: repeat [1,2,3,4,5].

Original entry on oeis.org

1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1
Offset: 0

Views

Author

Keywords

Comments

Partial sums are given by A130483(n)+n+1. - Hieronymus Fischer, Jun 08 2007
4115/33333 = 0.12345123451234512345... - Eric Desbiaux, Nov 03 2008

Crossrefs

Cf. A177038 (decimal expansion of (195+sqrt(65029))/314).

Programs

Formula

a(n) = 1 + (n mod 5). - Paolo P. Lava, Nov 21 2006
From Hieronymus Fischer, Jun 08 2007: (Start)
G.f.: (5*x^4+4*x^3+3*x^2+2*x+1)/(1-x^5) = (5*x^6-6*x^5+1)/((1-x^5)*(1-x)^2).
a(n) = A010874(n)+1. (End)
a(n) = a(n-5). - Wesley Ivan Hurt, Jan 15 2022