login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A243004
a(n) = - (a(n-1) + 1) * a(n-2) with a(1) = a(2) = 1.
2
1, 1, -2, 1, 4, -5, 16, 85, -1376, 116875, 160821376, -18795998436875, 3022798331911925818624, 56816512721604915117046454761796875, -171744859879920049932215165532641220369502555067505818624
OFFSET
1,3
LINKS
FORMULA
0 = a(n) + a(n+2) + a(n)*a(n+1) for all n>0.
a(3*n) < 0, a(3*n + 1) > 0, a(3*n + 2) > 0, for all n>0.
MATHEMATICA
RecurrenceTable[{a[1]==a[2]==1, a[n]==-(a[n-1]+1)a[n-2]}, a, {n, 15}] (* Harvey P. Dale, Dec 08 2014 *)
PROG
(PARI) {a(n) = if( n<3, n>0, - (a(n-1) + 1) * a(n-2))};
(Magma) I:=[1, 1]; [n le 2 select I[n] else -(1 + Self(n-1))*Self(n-2): n in [1..10]]; // G. C. Greubel, Aug 06 2018
CROSSREFS
Sequence in context: A091232 A336398 A209337 * A375156 A137424 A083007
KEYWORD
sign
AUTHOR
Michael Somos, Aug 17 2014
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 20 06:55 EDT 2024. Contains 376067 sequences. (Running on oeis4.)