The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A171422 A (4,-5) Somos-4 sequence. 2
1, -1, -9, -41, -241, -271, 27329, 651521, 18425809, 399122991, -24055184809, -3943757411849, -498726356978849, -74609317288333151, 2771780972000481601, 8459493968101503667649, 5139175203350482789079649 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Hankel transform of A143013.
LINKS
FORMULA
a(n) = (4*a(n-1)*a(n-3) - 5*a(n-2)^2)/a(n-4), n>=3.
MATHEMATICA
RecurrenceTable[{a[n] == (4*a[n-1]*a[n-3] -5*a[n-2]^2)/a[n-4], a[0] == 1, a[1] == -1, a[2] == -9, a[3] == -41}, a, {n, 0, 30}] (* G. C. Greubel, Sep 18 2018 *)
PROG
(PARI) m=30; v=concat([1, -1, -9, -41], vector(m-4)); for(n=5, m, v[n] = ( 4*v[n-1]*v[n-3] -5*v[n-2]^2)/v[n-4]); v \\ G. C. Greubel, Sep 18 2018
(Magma) I:=[1, -1, -9, -41]; [n le 4 select I[n] else (4*Self(n-1)*Self(n-3) -5*Self(n-2)^2)/Self(n-4): n in [1..30]]; // G. C. Greubel, Sep 18 2018
CROSSREFS
Sequence in context: A146239 A083085 A147283 * A129793 A304361 A146878
KEYWORD
easy,sign
AUTHOR
Paul Barry, Dec 08 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 5 14:50 EDT 2024. Contains 373107 sequences. (Running on oeis4.)