login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A024026 3^n-n^3. 13
1, 2, 1, 0, 17, 118, 513, 1844, 6049, 18954, 58049, 175816, 529713, 1592126, 4780225, 14345532, 43042625, 129135250, 387414657, 1162254608, 3486776401, 10460343942, 31381048961, 94143166660, 282429522657, 847288593818 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..200

FORMULA

G.f.:(-1-4*x^4-7*x^3-5*x^2+5*x)/((3*x-1)*(x-1)^4) [From Maksym Voznyy (voznyy(AT)mail.ru), Aug 14 2009]

MAPLE

seq(3^n-n^3, n=0..25); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Jul 01 2007

MATHEMATICA

lst={}; Do[AppendTo[lst, (3^n-n^3)], {n, 0, 5!}]; lst [From Vladimir Orlovsky (4vladimir(AT)gmail.com), Jan 15 2009]

PROG

(MAGMA) [3^n-n^3: n in [0..30]]; // Vincenzo Librandi, May 14 2011

CROSSREFS

Sequence in context: A129467 A129065 A202700 * A009829 A202697 A051652

Adjacent sequences:  A024023 A024024 A024025 * A024027 A024028 A024029

KEYWORD

nonn

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 09:27 EST 2012. Contains 205904 sequences.