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.

Showing 1-1 of 1 results.

A145924 Last digit of A145923(n).

Original entry on oeis.org

9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3, 9, 3, 5, 5, 3
Offset: 0

Views

Author

Paul Curtz, Oct 25 2008

Keywords

Comments

The numbers also populate the 5th row of A107449.

Crossrefs

Cf. A010879 (last digit), A145923.

Programs

  • Mathematica
    PadRight[{},100,{9,3,5,5,3}] (* Harvey P. Dale, Jul 05 2012 *)
  • PARI
    a(n)=[9,3,5,5,3][n%5+1]; \\ Jinyuan Wang, Mar 23 2020

Formula

a(n) = A145923(n) mod 10.
Period length 5: a(n+5) = a(n).
G.f.: (9+3x+5x^2+5x^3+3x^4)/((1-x)(1+x+x^2+x^3+x^4)). - R. J. Mathar, Dec 08 2008

Extensions

Edited by R. J. Mathar, Dec 08 2008
Showing 1-1 of 1 results.