Is ?

In the question we were given maple commands to use so I assume we were meant to do it that way. Is there a way to solve this without a calculator?

I had to use one but just did it like...

,

so mod 561

and mod 561...

Then which is not equal to 1 mod 561..