OFFSET
1,17
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..3003
Chai Wah Wu, Counting the number of isosceles triangles in rectangular regular grids, arXiv:1605.00180 [math.CO], 2016.
FORMULA
T(n,k) = 2*T(n,k-1)-2*T(n,k-3)+T(n,k-4) for k > max(7,(n-1)^2+2) if n is odd and for k > (n-1)^2+3) if n is even.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Chai Wah Wu, May 07 2016
STATUS
approved