OFFSET
1,4
COMMENTS
Table starts
..1..1..3..4..4..6..7..7..9.10.10.12.13.13.15.16.16
..1..1..3..4..4..6..7..7..9.10.10.12.13.13.15.16
..3..3..9.12.12.18.21.21.27.30.30.36.39.39.45
..4..4.12.16.16.24.28.28.36.40.40.48.52.52
..4..4.12.16.16.24.28.28.36.40.40.48.52
..6..6.18.24.24.36.42.42.54.60.60.72
..7..7.21.28.28.42.49.49.63.70.70
..7..7.21.28.28.42.49.49.63.70
..9..9.27.36.36.54.63.63
.10.10.30.40.40.60.70
.10.10.30.40.40.60
.12.12.36.48.48
LINKS
R. H. Hardin, Table of n, a(n) for n = 1..144
FORMULA
Empirical: T(n,k)=3*((n-1)/3)+(n%3)^2-3*(n%3)+3+((k-1)/3)*(n*3-(((n%3)^2-(n%3))*3)/2)+((k%3)^2-3*(k%3)+2)*((n*3-(((n%3)^2-(n%3))*3)/2)/3) where '%'=modulo and '/'=integer divide truncating towards zero
EXAMPLE
Some solutions for n=3 k=3
..1..0..0....1..0..1....0..1..0....1..1..0....0..0..1....1..1..0....0..1..1
..0..0..0....0..1..0....0..0..1....1..1..1....1..0..0....0..0..0....1..0..1
..1..1..0....0..0..0....1..0..0....0..1..1....0..1..1....1..0..0....0..1..0
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
R. H. Hardin Nov 21 2012
STATUS
approved