Table[2^x mod 31,{x,1,200,1}]