// if row is odd then the row should contain odd number of series // if row is even then the row should contain even number of series ...
// the last column of each row is increased by the given size(4) of the pattern // odd number row each element is increased by 1 and // even number row each element is decreased by 1.