Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #16 Jul 28 2020 11:12:34
%S 3,1,9,7,15,13,21,19,27,25,33,31,39,37,45,43,51,49,57,55,63,61,69,67,
%T 75,73,81,79,87,85,93,91,99,97,105,103,111,109,117,115,123,121,129,
%U 127,135,133,141,139,147,145,153,151,159,157,165,163,171,169,177,175,183
%N Terms of A047241 swapped in pairs.
%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (1,1,-1).
%F a(n) = 6*n - a(n-1) - 2 (with a(0)=3). - _Vincenzo Librandi_, Nov 24 2010
%F From _Chai Wah Wu_, Jul 28 2020: (Start)
%F a(n) = a(n-1) + a(n-2) - a(n-3) for n > 2.
%F G.f.: (5*x^2 - 2*x + 3)/((x - 1)^2*(x + 1)). (End)
%K nonn,easy
%O 0,1
%A _Paul Curtz_, Mar 25 2008