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.

A204327 a(n) = Pell(n^2).

Original entry on oeis.org

1, 12, 985, 470832, 1311738121, 21300003689580, 2015874949414289041, 1111984844349868137938112, 3575077977948634627394046618865, 66992092050551637663438906713182313772, 7316660981177400006023755031791634132229378601
Offset: 1

Views

Author

Paul D. Hanna, Jan 14 2012

Keywords

Examples

			G.f.: A(x) = x + 12*x^2 + 985*x^3 + 470832*x^4 + 1311738121*x^5 +...
		

Crossrefs

Programs

  • PARI
    {Pell(n)=polcoeff(x/(1-2*x-x^2+x*O(x^n)), n)}
    {a(n)=Pell(n^2)}

Formula

a(n) = ( (1+sqrt(2))^(n^2) - (1-sqrt(2))^(n^2) ) / (2*sqrt(2)).