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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098600 Fibonacci(n-1) + Fibonacci(n+1) - (-1)^n. 8
1, 2, 2, 5, 6, 12, 17, 30, 46, 77, 122, 200, 321, 522, 842, 1365, 2206, 3572, 5777, 9350, 15126, 24477, 39602, 64080, 103681, 167762, 271442, 439205, 710646, 1149852, 1860497, 3010350, 4870846, 7881197, 12752042, 20633240, 33385281, 54018522 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

Row sums of A098599.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index to sequences with linear recurrences with constant coefficients, signature (0,2,1).

FORMULA

G.f.: (1+2x)/((1+x)(1-x-x^2)); a(n) = sum{k = 0..n, binomial(k, n-k) + binomial(k-1, n-k-1)}.

a(n) = A020878(n) - 1 = A001350(n) + 1.

a(n) = Lucas(n) - (-1)^n. - Paul Barry, Dec 01 2004

a(n) = A181716(n+1).  - Richard R. Forberg, Aug 30 2014

MATHEMATICA

Table[-(-1)^n + LucasL[n], {n, 0, 39}] (* Alonso del Arte, Aug 30 2014 *)

Table[Fibonacci[n - 1] + Fibonacci[n + 1] - (-1)^n, {n, 0, 40}] (* Vincenzo Librandi, Aug 31 2014 *)

PROG

(MAGMA) [Fibonacci(n-1) + Fibonacci(n+1) - (-1)^n: n in [0..50]]: // Vincenzo Librandi, Aug 31 2014

(PARI) a(n)=fibonacci(n-1) + fibonacci(n+1) - (-1)^n; \\ Joerg Arndt, Oct 18 2014

CROSSREFS

Cf. A000045, A008346.

First differences of A014217 and A062724. Cf. A000032, A099925, A181716.

Sequence in context: A238517 A099926 A181716 * A147766 A034420 A028410

Adjacent sequences:  A098597 A098598 A098599 * A098601 A098602 A098603

KEYWORD

easy,nonn,changed

AUTHOR

Paul Barry, Sep 17 2004

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified October 23 00:52 EDT 2014. Contains 248411 sequences.