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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024091 a(n) = 8^n - n^3. 2
1, 7, 56, 485, 4032, 32643, 261928, 2096809, 16776704, 134216999, 1073740824, 8589933261, 68719475008, 549755811691, 4398046508360, 35184372085457, 281474976706560, 2251799813680335, 18014398509476152 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = 12*a(n-1) - 38*a(n-2) + 52*a(n-3) - 33*a(n-4) + 8*a(n-5); a(0)=1, a(1)=7, a(2)=56, a(3)=485, a(4)=4032. - Harvey P. Dale, Aug 22 2012
MATHEMATICA
Table[8^n-n^3, {n, 0, 20}] (* or *) LinearRecurrence[{12, -38, 52, -33, 8}, {1, 7, 56, 485, 4032}, 20] (* Harvey P. Dale, Aug 22 2012 *)
PROG
(Magma) [8^n-n^3: n in [0..20]]; // Vincenzo Librandi, Jul 05 2011
CROSSREFS
Sequence in context: A305198 A264912 A323216 * A145302 A233669 A265233
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)