Table for \(A_5(3,d;k)\)

d\k 0 1 2 3
1 1 31 31 1
2 1 31 31 1
3 1 1 1 1