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.

A156227 Period 12: repeat [0,1,3,8,3,1,0,8,6,1,6,8].

Original entry on oeis.org

0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8, 0, 1, 3, 8, 3
Offset: 0

Views

Author

Paul Curtz, Feb 06 2009

Keywords

Programs

  • Mathematica
    LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},{0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8},48] (* Ray Chandler, Aug 08 2015 *)
    PadRight[{},120,{0,1,3,8,3,1,0,8,6,1,6,8}] (* Harvey P. Dale, Dec 15 2023 *)
  • PARI
    a(n)=[0,1,3,8,3,1,0,8,6,1,6,8][n%12+1] \\ Charles R Greathouse IV, Jul 13 2016

Formula

a(n) = a(n-12). - Wesley Ivan Hurt, May 24 2021