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.

A058058 Generalized Somos-7 sequence: a(n)*a(n+7) = 3*a(n+1)*a(n+6) - 4*a(n+2)* a(n+5) + 4*a(n+3)*a(n+4).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 3, 9, 19, 33, 131, 681, 3921, 23801, 132881, 598121, 7466321, 141401273, 1865484899, 19358862929, 314151573363, 7831607063961, 237725833277411, 8937694547422641, 293153245305595201, 7098035759907924561, 310194702846756799041, 35075042744420641281841
Offset: 1

Views

Author

Robert G. Wilson v, Nov 20 2000

Keywords

References

  • N. Elkies, posting to the NMBRTHRY(AT)LISTSERV.NODAK.EDU newsgroup, Nov. 2000.

Crossrefs

Programs

  • Magma
    I:=[1,1,1,1,1,1,1]; [n le 7 select I[n] else (3*Self(n-1)*Self(n-6) - 4*Self(n-2)*Self(n-5) + 4*Self(n-3)*Self(n-4))/Self(n-7): n in [1..30]]; // G. C. Greubel, Feb 21 2018
  • Mathematica
    a[1] =a[2] =a[3] =a[4] =a[5] =a[6] =a[7] =1; a[n_]:= a[n] = (3*a[n-1]*a[n-6] - 4*a[n-2]*a[n-5] + 4*a[n-3]*a[n-4])/a[n-7]; Table[ a[n], {n, 1, 35}]
  • PARI
    {a(n) = if (n <=7, 1, (3*a(n-1)*a(n-6) - 4*a(n-2)*a(n-5) + 4*a(n-3)*a(n-4))/a(n-7))};
    for(n=1, 30, print1(a(n), ", ")) \\ G. C. Greubel, Feb 21 2018