login
This site is supported by donations to The OEIS Foundation.

 

Logo

"Email this user" was broken Aug 14 to 9am Aug 16. If you sent someone a message in this period, please send it again.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A018810 Number of lines through exactly 3 points of an n X n grid of points. 2
0, 0, 0, 8, 4, 16, 36, 64, 100, 204, 252, 396, 572, 780, 1020, 1484, 1756, 2260, 2828, 3540, 4332, 5556, 6372, 7716, 9188, 10684, 12292, 14684, 16588, 19324, 22268, 25420, 28780, 33164, 36452, 41036, 45892, 51324, 57060, 64540, 70500, 77724, 85300, 93228 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,4

REFERENCES

Lucien Pianaro, Jouer Jeux Mathematiques, 9(juillet 1993). [From Philippe Deléham, Apr 10 2009]

LINKS

Table of n, a(n) for n=0..43.

S. Mustonen, On lines and their intersection points in a rectangular grid of points [From Seppo Mustonen, Apr 18 2009]

FORMULA

1/2 (f(n, 4) - 2 f(n, 3) + f(n, 2)) where f(n, k) = Sum ((n - |kx|)(n - |ky|)); -n<kx<n, -n<ky<n, (x, y)=1. [From Seppo Mustonen, Apr 18 2009]

CROSSREFS

Sequence in context: A276071 A040059 A178603 * A070485 A248293 A151726

Adjacent sequences:  A018807 A018808 A018809 * A018811 A018812 A018813

KEYWORD

nonn

AUTHOR

David W. Wilson

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified August 20 11:41 EDT 2017. Contains 290835 sequences.