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.

A221906 a(n) = 4^n + 4*n.

This page as a plain text file.
%I A221906 #29 Apr 12 2025 18:24:37
%S A221906 1,8,24,76,272,1044,4120,16412,65568,262180,1048616,4194348,16777264,
%T A221906 67108916,268435512,1073741884,4294967360,17179869252,68719476808,
%U A221906 274877907020,1099511627856,4398046511188,17592186044504,70368744177756,281474976710752,1125899906842724
%N A221906 a(n) = 4^n + 4*n.
%H A221906 Vincenzo Librandi, <a href="/A221906/b221906.txt">Table of n, a(n) for n = 0..1000</a>
%H A221906 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (6,-9,4).
%F A221906 G.f.: (1 + 2*x - 15*x^2)/((1-x)^2*(1-4*x)).
%F A221906 a(n) = 6*a(n-1) - 9*a(n-2) + 4*a(n-3).
%F A221906 E.g.f.: exp(x)*(exp(3*x) + 4*x). - _Elmo R. Oliveira_, Sep 10 2024
%t A221906 Table[(4^n + 4 n), {n, 0, 30}] (* or *) CoefficientList[Series[(1 + 2 x - 15 x^2)/((1 - x)^2 (1 - 4 x)), {x, 0, 30}], x]
%o A221906 (Magma) [4^n + 4*n: n in [0..30]];
%o A221906 (Magma) I:=[1, 8, 24]; [n le 3 select I[n] else 6*Self(n-1)-9*Self(n-2)+4*Self(n-3): n in [1..30]];
%Y A221906 Cf. A107584, A370659.
%K A221906 nonn,easy
%O A221906 0,2
%A A221906 _Vincenzo Librandi_, Mar 02 2013