Table[n^(6n) mod 7, {n, 1,6}]