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.

A058896 a(n) = 4^n - 4.

This page as a plain text file.
%I A058896 #32 Dec 29 2024 21:01:30
%S A058896 -3,0,12,60,252,1020,4092,16380,65532,262140,1048572,4194300,16777212,
%T A058896 67108860,268435452,1073741820,4294967292,17179869180,68719476732,
%U A058896 274877906940,1099511627772,4398046511100,17592186044412,70368744177660,281474976710652,1125899906842620
%N A058896 a(n) = 4^n - 4.
%H A058896 Harry J. Smith, <a href="/A058896/b058896.txt">Table of n, a(n) for n = 0..500</a>
%H A058896 Mattia Fregola, <a href="https://docs.google.com/spreadsheets/d/1629UXZ07lVK1-LVR0T7u1RDVKeW4f55K688CAtS5maw/edit?usp=sharing">Elementary Cellular Automata Rule 1 generating OEIS sequence A277799, A058896, A141725, A002450</a>
%H A058896 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (5, -4).
%F A058896 a(n) = A000302(n) - 4 = 4*a(n-1) + 12 = 4*A024036(n-1) = 12*A002450(n-1).
%F A058896 G.f.: 3*(5*x - 1)/(1 - x)/(1 - 4*x).
%F A058896 a(n) = A000918(n)*A052548(n). - _Reinhard Zumkeller_, Feb 14 2009
%F A058896 From _Elmo R. Oliveira_, Nov 16 2023 (Start)
%F A058896 a(n) = 5*a(n-1) - 4*a(n-2) for n > 1.
%F A058896 E.g.f.: exp(4*x) - 4*exp(x). (End)
%p A058896 seq(4^n-4,n=0..25); # _Muniru A Asiru_, Mar 09 2018
%t A058896 Array[4^# - 4 &, 26, 0]  (* _Michael De Vlieger_, Feb 18 2018 *)
%o A058896 (PARI) a(n) = { 4^n - 4 } \\ _Harry J. Smith_, Jun 23 2009
%o A058896 (GAP) List([0..25],n->4^n-4); # _Muniru A Asiru_, Mar 09 2018
%Y A058896 Cf. A000302, A000918, A002450, A024036, A052548, A058809, A141725, A277799.
%K A058896 sign,easy
%O A058896 0,1
%A A058896 _Henry Bottomley_, Jan 08 2001