%I A007492 M0029
%S A007492 2,0,3,2,6,7,14,20,35,54,90,143,234,376,611,986,1598,2583,4182,6764,
%T A007492 10947,17710,28658,46367,75026,121392,196419,317810,514230,832039,
%U A007492 1346270,2178308,3524579,5702886,9227466,14930351,24157818,39088168
%N A007492 Fibonacci(n) - (-1)^n.
%D A007492 R. Honsberger, Mathematical Gems III, M.A.A., 1985, p. 129.
%D A007492 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences,
Academic Press, 1995 (includes this sequence).
%F A007492 G.f.: x*(2-x^2)/((1+x)*(1-x-x^2)). a(n)=2*(n-2)+a(n-3).
%p A007492 with(combinat): A007492 := n->fibonacci(n)-(-1)^n;
%o A007492 (PARI) a(n)=fibonacci(n)-(-1)^n
%Y A007492 Sequence in context: A008819 A021496 A151929 this_sequence A135351 A079451
A049799
%Y A007492 Adjacent sequences: A007489 A007490 A007491 this_sequence A007493 A007494
A007495
%K A007492 nonn
%O A007492 1,1
%A A007492 N. J. A. Sloane (njas(AT)research.att.com), Robert G. Wilson v (rgwv(AT)rgwv.com)
%E A007492 More terms from Michael Somos, Apr 28, 2000.
|