I would like to construct a system of linear equations as follows and find a basis of the solutions : Fix p, q ai,j−3ai−1,j−4ai,j−1+10ai−1,j−1=0 for all 0≤i≤p−12−1;0≤j≤q−2 with further conditions : a−1,j=−ap−12−1,j,ai,−1=ai,q−2 for all i,j satisfying the above conditions
Further more, is there a way that the same can be implemented for ai,j,k and so on.