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.

A012814 Take every 5th term of Padovan sequence A000931, beginning with the third term.

Original entry on oeis.org

0, 1, 5, 21, 86, 351, 1432, 5842, 23833, 97229, 396655, 1618192, 6601569, 26931732, 109870576, 448227521, 1828587033, 7459895657, 30433357674, 124155792775, 506505428836, 2066337330754, 8429820731201, 34390259761825, 140298353215075, 572360547759276, 2334999585697905
Offset: 0

Views

Author

Keywords

Examples

			G.f. = x + 5*x^2 + 21*x^3 + 86*x^4 + 351*x^5 + 1432*x^6 + 5842*x^7 + ...
		

Crossrefs

Programs

  • Magma
    I:=[0, 1, 5 ]; [n le 3 select I[n] else 5*Self(n-1)-4*Self(n-2)+Self(n-3): n in [1..40]]; // Vincenzo Librandi, Feb 03 2012
  • Mathematica
    LinearRecurrence[{5, -4, 1}, {0, 1, 5}, 25] (* Vincenzo Librandi, Feb 03 2012 *)

Formula

a(n+3) = 5*a(n+2) - 4*a(n+1) + a(n).
a(n) = A000931(5*n+2).
G.f.: x/(1-5*x+4*x^2-x^3). - Colin Barker, Feb 03 2012
a(n) = A012855(n+4) - A012855(n+3).

Extensions

Initial term 0 added by Colin Barker, Feb 03 2012