cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A095795 a(0)=2, a(1)=5, a(n+2) = a(n+1) + (-1)^n a(n).

This page as a plain text file.
%I A095795 #22 Feb 16 2025 08:32:53
%S A095795 2,5,7,2,9,7,16,9,25,16,41,25,66,41,107,66,173,107,280,173,453,280,
%T A095795 733,453,1186,733,1919,1186,3105,1919,5024,3105,8129,5024,13153,8129,
%U A095795 21282,13153,34435,21282,55717,34435,90152,55717,145869,90152,236021,145869
%N A095795 a(0)=2, a(1)=5, a(n+2) = a(n+1) + (-1)^n a(n).
%C A095795 Alternate terms form a Lucas sequence.
%C A095795 Specifically, a(2n) = A022113(n). - _Jonathan Vos Post_, Nov 16 2005
%H A095795 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/LucasSequence.html">Lucas Sequence.</a>
%H A095795 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,1,0,1).
%F A095795 a(n) = a(n-2) + a(n-4). G.f.: (3*x^3-5*x^2-5*x-2) / (x^4+x^2-1). - _Colin Barker_, Oct 18 2013
%t A095795 CoefficientList[Series[(3*x^3 - 5*x^2 - 5*x - 2)/(x^4 + x^2 - 1), {x, 0, 50}], x] (* _Wesley Ivan Hurt_, Jan 21 2017 *)
%Y A095795 Cf. A022113.
%K A095795 nonn,easy
%O A095795 0,1
%A A095795 _Gary W. Adamson_, Jun 06 2004
%E A095795 Edited by _Don Reble_, Nov 15 2005
%E A095795 Missing terms inserted and more terms added by _Colin Barker_, Oct 18 2013