Matrix^2005 from the AMATYC 2005 exam