A222821 T(n,k)=Number of idempotent n X n 0..k matrices.
2, 2, 8, 2, 12, 50, 2, 16, 122, 452, 2, 20, 218, 2052, 5682, 2, 24, 344, 5584, 54182, 96608, 2, 28, 488, 12476, 248442, 2236302, 2185738, 2, 32, 668, 23568, 855192, 20394466, 145121216, 65108492, 2, 36, 860, 41668, 2319872, 126252320
Offset: 1
Examples
Some solutions for n=3 k=4 ..0..2..0....1..0..0....0..0..3....1..0..0....0..0..0....0..3..0....1..4..1 ..0..1..0....3..0..2....0..0..4....0..1..0....4..1..0....0..1..0....0..0..0 ..0..2..0....0..0..1....0..0..1....4..2..0....0..0..0....0..2..0....0..0..0
Comments