View Single Post
Old 2018-09-18, 10:40   #5
AndrewWalker
 
AndrewWalker's Avatar
 
Mar 2015
Australia

2×41 Posts
Default

Quote:
Originally Posted by LaurV View Post
2^341==2 mod 341, thus 341 is prime

Ha!



(19:57) gp > (341-1)!%341
%54 = 0


Andrew


When in doubt, use Wilson's Theorem

http://fredrikj.net/blog/2012/03/fac...lsons-theorem/
AndrewWalker is offline   Reply With Quote