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!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..20

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 * A137424 A083007 A309845

Adjacent sequences:  A243001 A243002 A243003 * A243005 A243006 A243007

KEYWORD

sign

AUTHOR

Michael Somos, Aug 17 2014

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 October 3 04:46 EDT 2022. Contains 357230 sequences. (Running on oeis4.)