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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A100887 Expansion of (-1+2x+2x^2)/((1+x+x^2)(1-x-x^2)). 2
-1, 2, 1, 0, 4, 4, 5, 12, 17, 26, 46, 72, 115, 190, 305, 492, 800, 1292, 2089, 3384, 5473, 8854, 14330, 23184, 37511, 60698, 98209, 158904, 257116, 416020, 673133, 1089156, 1762289, 2851442, 4613734, 7465176, 12078907, 19544086, 31622993, 51167076 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

This sequence was investigated in cooperation with Paul Barry. Generating floretion: - 0.5'i - 0.5'k - 0.5j' - 0.5'ii' + 0.5'jj' - 0.5'kk' + 0.5'ik' - 0.5'ki' ("les").

LINKS

Table of n, a(n) for n=0..39.

FORMULA

a(n) = Fib(n+1)/2 - sqrt(3)cos(2Pi*n/3 + Pi/6); a(n) = a(n-2) + 2a(n-3) + a(n-4), a(0) = -1, a(1) = 2, a(2) = 1, a(3) = 0

MATHEMATICA

a[n_] := Fibonacci[n + 1]/2 - Sqrt[3]Cos[2Pi*n/3 + Pi/6]; Table[ a[n], {n, 0, 39}]

a[0] = -1; a[1] = 2; a[2] = 1; a[3] = 0; a[n_] := a[n] = a[n - 2] + 2a[n - 3] + a[n - 4]; Table[ a[n], {n, 0, 39}]

CoefficientList[ Series[(-1 + 2x + 2x^2)/((1 - x - x^2)(1 + x + x^2)), {x, 0, 39}], x] (* Robert G. Wilson v, Dec 02 2004 *)

PROG

(PARI) Vec((-1+2*x+2*x^2)/((1+x+x^2)*(1-x-x^2))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012

CROSSREFS

Cf. A100886, A100888, A100889, A100890.

Sequence in context: A256797 A109167 A066426 * A073592 A164994 A269952

Adjacent sequences:  A100884 A100885 A100886 * A100888 A100889 A100890

KEYWORD

sign,easy

AUTHOR

Creighton Dement, Nov 21 2004

EXTENSIONS

Edited and extended by Robert G. Wilson v, Dec 02 2004

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 July 26 02:08 EDT 2017. Contains 289798 sequences.