|
Search: id:A108235
|
|
|
| A108235 |
|
Number of 3 X 3 magic squares with each cell value less than n. |
|
+0 1
|
|
| 8, 16, 40, 64, 96, 128, 184, 240, 320, 400, 504, 608, 744, 880, 1056, 1232, 1440, 1648, 1904, 2160, 2464, 2768, 3120, 3472, 3880, 4288, 4760, 5232, 5760, 6288, 6888, 7488, 8160, 8832, 9576, 10320, 11144, 11968, 12880, 13792, 14784, 15776
(list; graph; listen)
|
|
|
OFFSET
|
10,1
|
|
|
LINKS
|
M. Beck and T. Zaslavsky, An enumerative geometry for magic and magilatin labelings
|
|
PROGRAM
|
(PARI) a(n)=1/6*(n^3-16*n^2+(76-3*(n%2))*n-[96, 58, 96, 102, 112, 90, 96, 70, 96, 90, 112, 102][(n%12)+1])
|
|
CROSSREFS
|
Sequence in context: A156331 A024700 A108576 this_sequence A052207 A038578 A155110
Adjacent sequences: A108232 A108233 A108234 this_sequence A108236 A108237 A108238
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Ralf Stephan, Jun 17 2005
|
|
|
Search completed in 0.002 seconds
|