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.

A185647 Expansion of (1+2x)*(1+2*x^2)/((1-x)*(1+x)*(1-2*x^2)).

This page as a plain text file.
%I A185647 #18 Jul 10 2017 02:21:41
%S A185647 1,2,5,10,13,26,29,58,61,122,125,250,253,506,509,1018,1021,2042,2045,
%T A185647 4090,4093,8186,8189,16378,16381,32762,32765,65530,65533,131066,
%U A185647 131069,262138,262141,524282,524285,1048570,1048573,2097146,2097149,4194298,4194301
%N A185647 Expansion of (1+2x)*(1+2*x^2)/((1-x)*(1+x)*(1-2*x^2)).
%H A185647 G. C. Greubel, <a href="/A185647/b185647.txt">Table of n, a(n) for n = 0..5000</a>
%H A185647 <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,3,0,-2).
%F A185647 a(n) = a(n-1)*2 if n odd.
%F A185647 a(n) = a(n-1)+3 if n even.
%F A185647 a(2n) = 2^(n+2)-3 = A036563(n+2).
%F A185647 a(2n+1) = 2^(n+3)-6 = A131130(n+1).
%F A185647 a(n) = 3*a(n-2) - 2*a(n-4) with a(0)=1, a(1)=2, a(2)=5, a(3)=10.
%t A185647 LinearRecurrence[{0, 3, 0, -2}, {1, 2, 5, 10}, 50] (* _G. C. Greubel_, Jul 09 2017 *)
%o A185647 (PARI) x='x+O('x^50); Vec((1+2*x)*(1+2*x^2)/((1-x)*(1+x)*(1-2*x^2))) \\ _G. C. Greubel_, Jul 09 2017
%Y A185647 Cf. A036563, A131130
%K A185647 nonn,easy
%O A185647 0,2
%A A185647 _Philippe Deléham_, Apr 23 2013