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.

A163066 a(n) = 12*a(n-1) - 31*a(n-2) for n > 1; a(0) = 2, a(1) = 17.

This page as a plain text file.
%I A163066 #7 Sep 08 2022 08:45:46
%S A163066 2,17,142,1177,9722,80177,660742,5443417,44838002,369310097,
%T A163066 3041743102,25052304217,206333614442,1699381942577,13996241263222,
%U A163066 115274054938777,949405180105442,7819366458163217,64400836914689902,530409682773219097
%N A163066 a(n) = 12*a(n-1) - 31*a(n-2) for n > 1; a(0) = 2, a(1) = 17.
%C A163066 Binomial transform of A162773. Inverse binomial transform of A163067.
%H A163066 G. C. Greubel, <a href="/A163066/b163066.txt">Table of n, a(n) for n = 0..1000</a>
%H A163066 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (12,-31).
%F A163066 a(n) = ((2+sqrt(5))*(6+sqrt(5))^n + (2-sqrt(5))*(6-sqrt(5))^n)/2.
%F A163066 G.f.: (2-7*x)/(1-12*x+31*x^2).
%t A163066 CoefficientList[Series[(2-7*x)/(1-12*x+31*x^2), {x,0,50}],x] (* or *) LinearRecurrence[{12,-31}, {2,17}, 30] (* _G. C. Greubel_, Dec 22 2017 *)
%o A163066 (Magma) [ n le 2 select 15*n-13 else 12*Self(n-1)-31*Self(n-2): n in [1..20] ];
%o A163066 (PARI) x='x+O('x^30); Vec((2-7*x)/(1-12*x+31*x^2)) \\ _G. C. Greubel_, Dec 22 2017
%Y A163066 Cf. A162773, A163067.
%K A163066 nonn
%O A163066 0,1
%A A163066 _Klaus Brockhaus_, Jul 20 2009