OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (4, -6, 4, -1).
FORMULA
EXAMPLE
From Bruno Berselli, Jun 26 2018: (Start)
Including 0, row sums of the triangle:
| 0| .................................................................. 0
| 1| 2 3 4 ..................................................... 10
| 5| 6 7 8 9 10 11 ......................................... 56
|12| 13 14 15 16 17 18 19 20 21 ............................ 165
|22| 23 24 25 26 27 28 29 30 31 32 33 34 ................ 364
|35| 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 .... 680
...
in the first column of which we have the pentagonal numbers (A000326).
(End)
MAPLE
seq(binomial(3*n+2, 3), n = 1..38);
MATHEMATICA
Table[(Binomial[3 n + 2, 3]), {n, 1, 40}] (* Vincenzo Librandi, Sep 09 2013 *)
PROG
(Magma) [Binomial(3*n + 2, 3): n in [1..40]]; // Vincenzo Librandi, Sep 09 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Peter Bala, Sep 09 2013
STATUS
approved