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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A240441 Number of ways to place 4 points on a triangular grid of side n so that no three of these points are vertices of an equilateral triangle of any orientation. 5
0, 0, 3, 114, 969, 4773, 17415, 52125, 135375, 315675, 676200, 1352085, 2553558, 4595934, 7937874, 13229118, 21369330, 33579450, 51487425, 77229900, 113571975, 164046795, 233117313, 326362179, 450688329, 614572413, 828333870, 1104441975, 1457859900, 1906428300 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

LINKS

Heinrich Ludwig, Table of n, a(n) for n = 1..1000

Index entries for linear recurrences with constant coefficients, signature (7,-19,21,6,-42,42,-6,-21,19,-7,1).

FORMULA

a(n) = (n^8 + 4*n^7 - 14*n^6 - 56*n^5 + 61*n^4 + 220*n^3 - 84*n^2 - 240*n)/384 + IF(MOD(n, 2) = 1)*(6*n + 3)/32.

G.f.: -3*x^3*(x^4+31*x^3+76*x^2+31*x+1) / ((x-1)^9*(x+1)^2). - Colin Barker, Apr 05 2014

MATHEMATICA

Table[(n^8+4*n^7-14*n^6-56*n^5+61*n^4+220*n^3-84*n^2-240*n)/384 +If[EvenQ[n], 0, (6*n+3)/32], {n, 1, 20}] (* Vaclav Kotesovec, Apr 05 2014 after Heinrich Ludwig *)

PROG

(PARI) concat([0, 0], Vec(-3*x^3*(x^4+31*x^3+76*x^2+31*x+1)/((x-1)^9*(x+1)^2) + O(x^100))) \\ Colin Barker, Apr 05 2014

CROSSREFS

Cf. A240439, A240440, A240442.

Sequence in context: A065117 A227794 A225334 * A229929 A267897 A132304

Adjacent sequences:  A240438 A240439 A240440 * A240442 A240443 A240444

KEYWORD

nonn,easy

AUTHOR

Heinrich Ludwig, Apr 05 2014

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 5 13:26 EST 2019. Contains 329751 sequences. (Running on oeis4.)