Table of n, a(n) for n=1..11.
Three collinear points in an n X n grid A000938 ; n X n X n grid A157882
Sequence in context: A235667 A235663 A235428 * A235745 A235504 A297127
Adjacent sequences: A178277 A178278 A178279 * A178281 A178282 A178283
R. H. Hardin, suggested by R. J. Mathar in the Sequence Fans Mailing List, May 24 2010