Powers of 3 mod 293