OFFSET
1,2
LINKS
Chai Wah Wu, Counting the number of isosceles triangles in rectangular regular grids, arXiv:1605.00180 [math.CO], 2016.
Index entries for linear recurrences with constant coefficients, signature (2, 0, -2, 1).
FORMULA
Conjectured g.f.: 4*x*(x^10-x^8+2*x^6+x^5+4*x^4+4*x^3-3*x^2-9*x-4)/((x+1)*(x-1)^3).
Conjectured recurrence: a(n) = 2*a(n-1)-2*a(n-3)+a(n-4) for n > 12.
Conjectures from Colin Barker, Apr 25 2016: (Start)
a(n) = -3/2*(143+(-1)^n)+64*n+5*n^2 for n>8.
a(n) = 5*n^2+64*n-216 for n>8 and even.
a(n) = 5*n^2+64*n-213 for n>8 and odd.
(End)
The conjectured g.f. and recurrence are true. See paper in links. - Chai Wah Wu, May 07 2016
MATHEMATICA
Join[{0, 16, 68, 148, 248, 360, 488, 620}, LinearRecurrence[{2, 0, -2, 1}, {768, 924, 1096, 1272}, 42]] (* Jean-François Alcover, Sep 03 2018 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 24 2016
EXTENSIONS
More terms from Jean-François Alcover, Sep 03 2018
STATUS
approved