In the Rabin-Miller test for the (pseudo) primality of we have and

So is a witness to the primallity of if:

and

So if you compute the values asked for and the first is not congruent to and the others are not congruent to , then is a witness to the compositness of . (In fact if the conditions hold then 1105 is certainly composite, if they fail 1105 is probably prime)

RonL