The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A024039 a(n) = 4^n - n^3. 2

%I

%S 1,3,8,37,192,899,3880,16041,65024,261415,1047576,4192973,16775488,

%T 67106667,268432712,1073738449,4294963200,17179864271,68719470904,

%U 274877900085,1099511619776,4398046501843,17592186033768,70368744165497,281474976696832

%N a(n) = 4^n - n^3.

%H Vincenzo Librandi, <a href="/A024039/b024039.txt">Table of n, a(n) for n = 0..500</a>

%H <a href="/index/Rec#order_05">Index entries for linear recurrences with constant coefficients</a>, signature (8, -22, 28, -17, 4).

%F G.f.: (-1 - 5*x^4 - 11*x^3 - 6*x^2 + 5*x)/((4*x-1)*(x-1)^4). - Maksym Voznyy (voznyy(AT)mail.ru), Aug 13 2009

%F a(n) = 8*a(n-1) - 22*a(n-2) + 28*a(n-3) - 17*a(n-4) + 4*a(n-5); a(0)=1, a(1)=3, a(2)=8, a(3)=37, a(4)=192. - _Harvey P. Dale_, Jul 26 2011

%t Table[4^n-n^3,{n,0,30}] (* or *) LinearRecurrence[{8,-22,28,-17,4},{1,3,8,37,192},31] (* _Harvey P. Dale_, Jul 26 2011 *)

%o (Magma) [4^n-n^3: n in [0..30]]; // _Vincenzo Librandi_, Jul 02 2011

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_

%E More terms from _Harvey P. Dale_, Jul 26 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified February 7 02:40 EST 2023. Contains 360111 sequences. (Running on oeis4.)