Numeric Pattern In Java - 2