OFFSET
1,5
COMMENTS
k*(k+1)/3 is the average squared value over -k..k
Table starts
.1..1...1...1....1.....1.....1.....1......1......1......1.......1.......1
.1..2...3...3....4.....4.....5.....5......6......7......7.......8.......8
.2..4...5...8...12....17....22....25.....31.....38.....45......53......62
.2..6..12..23...37....58....83...112....154....203....259.....329.....403
.2..9..22..48...93...163...262...414....618....877...1227....1661....2199
.3.13..39.102..220...434...794..1346...2190...3398...5106....7411...10494
.3.17..63.186..476..1061..2117..3998...7036..11808..19093...29687...44730
.3.24.104.332..979..2414..5278.10966..20984..37693..65732..109170..174209
.4.31.155.596.1888..5166.12584.28096..58118.113204.209399..370563..631264
.4.38.226.976.3493.10526.27893.67867.151415.315288.624895.1175933.2117218
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..642
EXAMPLE
Some solutions for n=5 k=4
.-2...-3...-3...-3...-2...-2...-1...-4...-4...-2...-2...-2...-2...-2...-2...-1
.-2...-2...-2....0...-2...-2...-1....0...-1...-1...-2...-1...-1...-2...-2...-1
..0....1....0....1...-1...-2...-1....0....1...-1....0...-1...-1....1...-2....0
..2....1....1....1....2....3...-1....1....2....2....0....1....0....1....2....0
..2....3....4....1....3....3....4....3....2....2....4....3....4....2....4....2
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Jan 08 2011
STATUS
approved