OFFSET
0,2
COMMENTS
If one replaces the equilateral triangle by a rectangle isoscele triangle with hypotenuse [0,n], one gets A087811. - Michel Marcus, Aug 05 2013
EXAMPLE
For n=0, the triangle is degenerate and there is 1 point (0,0).
For n=1, there are 2 points (0,0) and (0,1).
PROG
(PARI) a(n) = {nb = 0; for (x=0, n, for (y=0, n, if ((x < n/2) && (y <= x*sqrt(3)), nb++); if ((x >= n/2) && (y + x*sqrt(3)) <= n*sqrt(3), nb++); ); ); nb; } \\ Michel Marcus, Aug 05 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Neven Juric (neven.juric(AT)apis-it.hr), Jun 20 2006
EXTENSIONS
Offset set to 0 and a(0) prepended by Michel Marcus, Aug 05 2013
STATUS
approved