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-2 of 2 results.

A157441 a(n) = 1331*n - 1122.

Original entry on oeis.org

209, 1540, 2871, 4202, 5533, 6864, 8195, 9526, 10857, 12188, 13519, 14850, 16181, 17512, 18843, 20174, 21505, 22836, 24167, 25498, 26829, 28160, 29491, 30822, 32153, 33484, 34815, 36146, 37477, 38808, 40139, 41470, 42801, 44132, 45463
Offset: 1

Views

Author

Vincenzo Librandi, Mar 01 2009

Keywords

Comments

The identity (14641*n^2 - 24684*n + 10405)^2 - (121*n^2 - 204*n + 86)*(1331*n - 1122)^2 = 1 can be written as A157442(n)^2 - A157440(n)*a(n)^2 = 1. - Vincenzo Librandi, Jan 29 2012

Crossrefs

Programs

  • Magma
    I:=[209, 1540]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]]; // Vincenzo Librandi, Jan 29 2012
    
  • Mathematica
    LinearRecurrence[{2,-1},{209,1540},50] (* Vincenzo Librandi, Jan 29 2012 *)
  • PARI
    for(n=1, 40, print1(1331*n - 1122", ")); \\ Vincenzo Librandi, Jan 29 2012

Formula

G.f.: x*(209 + 1122*x)/(x-1)^2. - Vincenzo Librandi, Jan 29 2012
a(n) = 2*a(n-1) - a(n-2). - Vincenzo Librandi, Jan 29 2012

A157442 a(n) = 14641*n^2 - 24684*n + 10405.

Original entry on oeis.org

362, 19601, 68122, 145925, 253010, 389377, 555026, 749957, 974170, 1227665, 1510442, 1822501, 2163842, 2534465, 2934370, 3363557, 3822026, 4309777, 4826810, 5373125, 5948722, 6553601, 7187762, 7851205, 8543930, 9265937
Offset: 1

Views

Author

Vincenzo Librandi, Mar 01 2009

Keywords

Comments

The identity (14641*n^2 - 24684*n + 10405)^2 - (121*n^2 - 204*n + 86)*(1331*n - 1122)^2 = 1 can be written as a(n)^2 - A157440(n)*A157441(n)^2 = 1. - Vincenzo Librandi, Jan 29 2012

Crossrefs

Programs

  • Magma
    I:=[362, 19601, 68122]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..50]]; // Vincenzo Librandi, Jan 29 2012
    
  • Mathematica
    Table[14641n^2-24684n+10405,{n,30}] (* or *) LinearRecurrence[{3,-3,1},{362,19601,68122},30]
  • PARI
    for(n=1, 40, print1(14641*n^2 - 24684*n + 10405", ")); \\ Vincenzo Librandi, Jan 29 2012

Formula

a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3); a(1)=362, a(2)=19601, a(3)=68122. - Harvey P. Dale, Oct 22 2011
G.f.: x*(-10405*x^2 - 18515*x - 362)/(x-1)^3. - Harvey P. Dale, Oct 22 2011
a(n) = A017485(11*n-10)^2 + 1. - Bruno Berselli, Jan 29 2012
Showing 1-2 of 2 results.