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.

A096230 Period 5: repeat [9, 7, 5, 3, 1].

Original entry on oeis.org

9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1, 9, 7, 5, 3, 1
Offset: 1

Views

Author

Odimar Fabeny, Jul 29 2004

Keywords

Comments

Decimal expansion of 9 + 1/2 + 1/4 + 1/313 + 1/378244 + 1/2959729702407 = 975310/99999. - Bruno Berselli, Oct 02 2018

Programs

Formula

a(n) = 1 + 2*(-n mod 5). [From Wilson Mathematica program (2004)]
a(n) = 9 - (2*(n-1) mod 10). [From Greathouse PARI program (2014)]
From Robert Israel, Jul 16 2015: (Start)
G.f.: (9 + 7*x + 5*x^2 + 3*x^3 + x^4)/(1 - x^5).
a(n) = a(n-5).
a(n) + a((a(n)+1)/2) = 10. (End)

Extensions

Edited by N. J. A. Sloane and Robert G. Wilson v, Jul 31 2004