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!)
A162546 A Somos-4 variant: a(n) = (36*a(n-1)*a(n-3) - 68*a(n-2)^2)/a(n-4). 5
1, 1, -16, -644, -40592, -4821056, 17059328, 2492895195136, 10659285907800064, 86296767700623425536, 1081586547380924161458176, -36649408809924048998874742784, -18144416387824430577315746611724288 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Hankel transform of A162543, A162548.
LINKS
MATHEMATICA
RecurrenceTable[{a[n]==(36*a[n-1]*a[n-3] - 68*a[n-2]^2)/a[n-4], a[0]==1, a[1]==1, a[2]==-16, a[3]==-644}, a, {n, 20}] (* G. C. Greubel, Feb 23 2019 *)
PROG
(PARI) m=20; v=concat([1, 1, -16, -644], vector(m-4)); for(n=5, m, v[n] = (36*v[n-1]*v[n-3] -68*v[n-2]^2)/v[n-4]); v \\ G. C. Greubel, Feb 23 2019
(Magma) I:=[1, 1, -16, -644]; [n le 4 select I[n] else (36*Self(n-1) *Self(n-3) - 68*Self(n-2)^2)/Self(n-4): n in [1..20]]; // G. C. Greubel, Feb 23 2019
(Sage)
def a(n):
if (n==0): return 1
elif (n==1): return 1
elif (n==2): return -16
elif (n==3): return -644
else: return (36*a(n-1)*a(n-3) - 68*a(n-2)^2)/a(n-4)
[a(n) for n in (1..20)] # G. C. Greubel, Feb 23 2019
(GAP) a:=[1, 1, -16, -644];; for n in [5..20] do a[n]:=(36*a[n-1]*a[n-3] - 68*a[n-2]^2)/a[n-4]; od; a; # G. C. Greubel, Feb 23 2019
CROSSREFS
Sequence in context: A139166 A128048 A197670 * A328274 A249950 A334734
KEYWORD
easy,sign
AUTHOR
Paul Barry, Jul 05 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 September 12 16:36 EDT 2024. Contains 375853 sequences. (Running on oeis4.)