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.

A147818 Period 4: repeat [5, 9, 9, 5].

Original entry on oeis.org

5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5, 9, 9, 5, 5
Offset: 1

Views

Author

Omar E. Pol, Nov 14 2008, Jan 25 2009

Keywords

Comments

Last digit of the number whose binary representation is the concatenation of n 1's, 2n-1 0's and n 1's.
a(n) is the final digit of A147539(n).

Crossrefs

Programs

Formula

a(n+1) = 7-2*cos(Pi*n/2)+2*sin(Pi*n/2). - R. J. Mathar, Oct 08 2011
a(n) = a(n-1)-a(n-2)+a(n-3) for n>3. G.f.: x*(5*x^2+4*x+5)/((1-x)*(x^2+1)). [Colin Barker, Nov 04 2012]
a(n) = a(n-4) for n>4. - Wesley Ivan Hurt, Jul 09 2016

Extensions

More terms from R. J. Mathar, Jan 22 2009