OFFSET
0,2
COMMENTS
This is a generalization of A114043, which can be viewed as the number of intersections of a halfspace with the n X n grid (divided by 2).
LINKS
Peter J. Taylor, Python program to generate terms
EXAMPLE
a(3) = 214 (X's indicate points in intersection):
... X.. .X. ... XX. X.. X.. X.. XXX XX. XX. XX. X.. X.. .X. .X.
... ... ... .X. ... .X. ..X ... ... X.. .X. ..X .XX .X. .X. XX.
... ... ... ... ... ... ... .X. ... ... ... ... ... ..X .X. ...
-1- -4- -4- -1- -8- -4- -8- -8- -4- -4- -8- -8- -8- -2- -2- -4-
XXX XXX XX. XX. XX. XX. .X. X.. XXX XXX XX. XX. XX. XX. .X. XX.
X.. .X. XX. .X. .XX .X. XXX .XX XX. .X. .XX .XX XXX XX. XXX .X.
... ... ... .X. ... ..X ... .X. ... .X. ..X .X. ... ..X .X. .XX
-8- -4- -4- -8- -8- -8- -4- -4- -8- -4- -4- -8- -8- -4- -1- -4-
XXX XXX XXX XX. XX. XXX XXX XX. XXX XXX
XXX XX. XX. XXX XXX XXX XXX XXX XXX XXX
... X.. .X. .X. ..X X.. .X. .XX XX. XXX
-4- -4- -8- -4- -8- -8- -4- -2- -4- -1-
CROSSREFS
KEYWORD
nonn
AUTHOR
David Applegate, Feb 24 2006
EXTENSIONS
More terms from Peter J. Taylor, Feb 28 2019
STATUS
approved