|
| |
| |
|
|
|
0, 7, 20, 39, 64, 95, 132, 175, 224, 279, 340, 407, 480, 559, 644, 735, 832, 935, 1044, 1159, 1280, 1407, 1540, 1679, 1824, 1975, 2132, 2295, 2464, 2639, 2820, 3007, 3200, 3399, 3604, 3815, 4032, 4255, 4484, 4719, 4960, 5207, 5460
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,2
|
|
|
LINKS
|
Table of n, a(n) for n=0..42.
|
|
|
FORMULA
|
a(n)=3*n^2 + 4n.
a(n)=6*n+a(n-1)+1 (with a(0)=0) [From Vincenzo Librandi, Aug 03 2010]
G.f.: x*(7 - x)/(1 - x)^3. [Arkadiusz Wesolowski, Dec 24 2011]
a(0)=0, a(1)=7, a(2)=20, a(n)=3*a(n-1)-3*a(n-2)+a(n-3). - Harvey P. Dale, May 04 2013
|
|
|
EXAMPLE
|
a(1)=6*1+0+1=7; a(2)=6*2+7+1=20; a(3)=6*3+20+1=39 [From Vincenzo Librandi, Aug 03 2010]
|
|
|
MATHEMATICA
|
lst={}; Do[AppendTo[lst, n*(3*n+4)], {n, 0, 6!}]; lst [From Vladimir Joseph Stephan Orlovsky, Nov 06 2008]
Table[n(3n+4), {n, 0, 50}] (* or *) LinearRecurrence[{3, -3, 1}, {0, 7, 20}, 50] (* Harvey P. Dale, May 04 2013 *)
|
|
|
CROSSREFS
|
Cf. A033428, A045944, A067725, A140677, A140678, A067707, A140679, A140680, A140681, A140689.
Sequence in context: A200773 A063235 A063151 * A025056 A038349 A100752
Adjacent sequences: A140673 A140674 A140675 * A140677 A140678 A140679
|
|
|
KEYWORD
|
easy,nonn
|
|
|
AUTHOR
|
Omar E. Pol, May 22 2008
|
|
|
STATUS
|
approved
|
| |
|
|