Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A045996
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A045996 Triangles in an n X n grid (or geoplane). +0
3
0, 4, 76, 516, 2148, 6768, 17600, 40120, 82608, 157252, 280988, 477012, 775172, 1214768, 1844512, 2725000, 3930384, 5550844, 7692300, 10482124, 14066996, 18619128, 24337056, 31449200, 40212160, 50921316, 63907468, 79542108 (list; graph; listen)
OFFSET

1,2

FORMULA

a(n) = ((n - 1)^2*n^2*(n + 1)^2)/6 - 2*Sum(Sum((n - k + 1)*(n - l + 1)*gcd(k - 1, l - 1), k, 2, n), l, 2, n).

EXAMPLE

a(2)=4 because 4 isosceles right triangles can be placed on a 2 X 2 grid.

CROSSREFS

Sequence in context: A067921 A101718 A094160 this_sequence A114453 A093184 A144210

Adjacent sequences: A045993 A045994 A045995 this_sequence A045997 A045998 A045999

KEYWORD

nice,nonn,easy

AUTHOR

Ignacio Larrosa Canestro (ignacio.larrosa(AT)eresmas.net)

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 23 17:09 EST 2009. Contains 167438 sequences.


AT&T Labs Research