OFFSET
0,3
COMMENTS
Hankel transform of the sequence with g.f. 1/(1-x/(1+3x^2/(1+(5/9)x^2/91-(66/25)x^2/(1-...,
where -3,-5/9,66/25,... are the x-coordinates of the multiples of (0,0).
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..124
FORMULA
a(n) = (-a(n-1)*a(n-3) - 3*a(n-2)^2)/a(n-4), n>3.
MATHEMATICA
RecurrenceTable[{a[n]==(-a[n-1]*a[n-3] -3*a[n-2]^2)/a[n-4], a[0] == 1, a[1] == 1, a[2] == -3, a[3] == -5}, a, {n, 0, 30}] (* G. C. Greubel, Sep 16 2018 *)
PROG
(PARI) m=30; v=concat([1, 1, -3, -5], vector(m-4)); for(n=5, m, v[n] = ( -v[n-1]*v[n-3] - 3*v[n-2]^2)/v[n-4]); v \\ G. C. Greubel, Sep 16 2018
(Magma) I:=[1, 1, -3, -5]; [n le 4 select I[n] else (-Self(n-1)*Self(n-3) - 3*Self(n-2)^2)/Self(n-4): n in [1..30]]; // G. C. Greubel, Sep 16 2018
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Paul Barry, May 26 2010
STATUS
approved