login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132342 a(n) = (a(n-1)*a(n-4)) - (a(n-2)*a(n-3)), with a(1)=a(2)=a(3)=a(4)=1. 0
1, 1, 1, 1, 0, -1, -1, -1, -1, 0, -1, 1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0, 1, -1, -1, 1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Becomes cyclic with period 5: {-1, 1, 0, 1, -1} at a(13). - Stefan Steinerberger, Nov 17 2007

LINKS

Table of n, a(n) for n=1..105.

Index entries for linear recurrences with constant coefficients, signature (-1, -1, -1, -1).

MATHEMATICA

a[1] = a[2] = a[3] = a[4] = 1; a[n_] := a[n] = a[n - 1]*a[n - 4] - a[n - 2]*a[n - 3]; Array[a, 105] (* Robert G. Wilson v, Nov 09 2007 *)

a = {1, 1, 1, 1}; Do[AppendTo[a, a[[ -1]]*a[[ -4]] - a[[ -2]]*a[[ -3]]], {90}]; a (* Stefan Steinerberger, Nov 17 2007 *)

CROSSREFS

Sequence in context: A120529 A099443 * A156174 A106467 A106468 A030317

Adjacent sequences:  A132339 A132340 A132341 * A132343 A132344 A132345

KEYWORD

sign,easy

AUTHOR

Ben Branman, Nov 08 2007

EXTENSIONS

More terms from Robert G. Wilson v, Nov 09 2007

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified February 19 20:48 EST 2018. Contains 299357 sequences. (Running on oeis4.)