Ask your own question, for FREE!
Mathematics 7 Online
OpenStudy (anonymous):

how to prove that 222221 is not a prime number?

OpenStudy (anonymous):

write it as 19*116959

OpenStudy (nowhereman):

No, 19*116959 = 2.222.221 but he is talking about 222.221

OpenStudy (nowhereman):

But it is 359*619

OpenStudy (dumbcow):

i dont know write a program and try dividing it by every prime number before it :)

OpenStudy (nowhereman):

That's just what I did :-) No idea how you can prove it more easily :-D

OpenStudy (anonymous):

nice one dumbcow... hey satalite , u got 22,22,22 1 see question , 22,22,2 1 :(

OpenStudy (anonymous):

hey nowhereman, how did u get these factors?

OpenStudy (anonymous):

oops sorry. i read it wrong. then outside of testing all primes up until 471 i don't see a snap way of doing it. that is why codes are based on factoring. it takes a long time

OpenStudy (nowhereman):

Just by trying all from 1 to \(\sqrt{222,221}\) with a short python script.

OpenStudy (anonymous):

only till root of that number?

OpenStudy (nowhereman):

yeah that's enough. But there is still a better way: Just use Fermat's small theorem. You'll see that 222221 can't be a prime number because \[2^{222220} = 72600 \neq 1 \mod 222221\]

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!