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.

A166027 a(n) = 6*a(n-2) for n > 2; a(1) = 4, a(2) = 1.

This page as a plain text file.
%I A166027 #14 Jun 30 2023 14:26:21
%S A166027 4,1,24,6,144,36,864,216,5184,1296,31104,7776,186624,46656,1119744,
%T A166027 279936,6718464,1679616,40310784,10077696,241864704,60466176,
%U A166027 1451188224,362797056,8707129344,2176782336,52242776064,13060694016,313456656384
%N A166027 a(n) = 6*a(n-2) for n > 2; a(1) = 4, a(2) = 1.
%C A166027 Interleaving of 4*A000400 and A000400.
%H A166027 Vincenzo Librandi, <a href="/A166027/b166027.txt">Table of n, a(n) for n = 1..300</a>
%H A166027 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 6).
%F A166027 a(n) = 6^(1/4*(2*n+3+(-1)^n))*(25-23*(-1)^n)/72.
%F A166027 G.f.: x*(4+x)/(1-6*x^2).
%t A166027 Join[{4, 1, 24}, LinearRecurrence[{0, 6}, {6, 144}, 25]] (* _G. C. Greubel_, Apr 21 2016 *)
%o A166027 (Magma) [ n le 2 select 7-3*n else 6*Self(n-2): n in [1..29] ];
%Y A166027 Cf. A000400 (powers of 6), A166023.
%K A166027 nonn,easy
%O A166027 1,1
%A A166027 _Klaus Brockhaus_, Oct 04 2009