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!)
A255687 a(n) = n*(n + 1)*(7*n + 11)/6. 1
0, 6, 25, 64, 130, 230, 371, 560, 804, 1110, 1485, 1936, 2470, 3094, 3815, 4640, 5576, 6630, 7809, 9120, 10570, 12166, 13915, 15824, 17900, 20150, 22581, 25200, 28014, 31030, 34255, 37696, 41360, 45254, 49385, 53760, 58386, 63270, 68419, 73840, 79540, 85526 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
This sequence gives the number of triangles of all sizes in (3*n^2+2*n)-polyiamonds in a pentagonal or heptagonal configuration.
Also sum of 2*n*(n+1)*(n+2)/3 triangles oriented in one direction and n*(n+1)^2/2 oriented in the opposite direction.
LINKS
FORMULA
a(n) = (1/2)*( Sum_{j=0..n} (n+1-j)*(3*n-j) + Sum_{j=0..n-1} (n-j)*(3*n+1-3*j) ).
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4). - Colin Barker, Mar 02 2015
G.f.: x*(x + 6) / (x - 1)^4. - Colin Barker, Mar 02 2015
a(n) = -A007584(-n-1). [Bruno Berselli, Mar 02 2015]
MAPLE
A255687:=n->n*(n+1)*(7*n+11)/6: seq(A255687(n), n=0..50); # Wesley Ivan Hurt, Mar 03 2015
MATHEMATICA
Table[n (n + 1) (7 n + 11)/6, {n, 0, 50}] (* Bruno Berselli, Mar 02 2015 *)
LinearRecurrence[{4, -6, 4, -1}, {0, 6, 25, 64}, 50] (* Harvey P. Dale, Jul 17 2015 *)
PROG
(PARI) vector(50, n, n--; n*(n+1)*(7*n+11)/6)
(PARI) concat(0, Vec(x*(x+6)/(x-1)^4 + O(x^100))) \\ Colin Barker, Mar 02 2015
(Magma) [n*(n+1)*(7*n+11)/6: n in [0..50]]; // Bruno Berselli, Mar 02 2015
(Sage) [n*(n+1)*(7*n+11)/6 for n in (0..50)] # Bruno Berselli, Mar 02 2015
CROSSREFS
First bisection of A212977.
Partial sums of A179986.
Sequence in context: A319429 A022270 A001664 * A332698 A096958 A166814
KEYWORD
nonn,easy
AUTHOR
Luce ETIENNE, Mar 02 2015
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 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)