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.

A162766 a(n) = 3*a(n-2) for n > 2; a(1) = 4, a(2) = 3.

This page as a plain text file.
%I A162766 #9 Jun 30 2023 00:54:09
%S A162766 4,3,12,9,36,27,108,81,324,243,972,729,2916,2187,8748,6561,26244,
%T A162766 19683,78732,59049,236196,177147,708588,531441,2125764,1594323,
%U A162766 6377292,4782969,19131876,14348907,57395628,43046721,172186884,129140163
%N A162766 a(n) = 3*a(n-2) for n > 2; a(1) = 4, a(2) = 3.
%C A162766 Binomial transform is A162559. Second binomial transform is A077236.
%H A162766 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 3).
%F A162766 a(n) = (5-3*(-1)^n)*3^(1/4*(2*n-1+(-1)^n))/2.
%F A162766 G.f.: x*(4+3*x)/(1-3*x^2).
%F A162766 a(n) = A074324(n+1) = A166552(n+1) = 3^floor(n/2)*4^(n%2), where n%2 = 0 for n even, 1 for n odd. - _M. F. Hasler_, Dec 03 2014
%o A162766 (Magma) [ n le 2 select 5-n else 3*Self(n-2): n in [1..34] ];
%o A162766 (PARI) a(n)=3^(n\2)*4^(n%2) \\ _M. F. Hasler_, Dec 03 2014
%Y A162766 Cf. A074324, A166552, A162559, A077236, A162436.
%K A162766 nonn
%O A162766 1,1
%A A162766 _Klaus Brockhaus_, Jul 13 2009
%E A162766 G.f. corrected by _Klaus Brockhaus_, Sep 18 2009