use square and multiply mod p for Euler's criterion
use square and multiply mod p for Euler's criterion

ChristinaZografou/sympy,souravsingh/sympy,asm666/sympy,Mitchkoens/sympy,sahilshekhawat/sympy,kaichogami/sympy,Arafatk/sympy,asm666/sympy,shipci/sympy,wanglongqi/sympy,sunny94/temp,kaushik94/sympy,kevalds51/sympy,oliverlee/sympy,jbbskinny/sympy,abhiii5459/sympy,jaimahajan1997/sympy,jerli/sympy,iamutkarshtiwari/sympy,maniteja123/sympy,asm666/sympy,moble/sympy,Shaswat27/sympy,beni55/sympy,pandeyadarsh/sympy,Arafatk/sympy,toolforger/sympy,farhaanbukhsh/sympy,souravsingh/sympy,pandeyadarsh/sympy,lidavidm/sympy,dqnykamp/sympy,pbrady/sympy,rahuldan/sympy,kevalds51/sympy,liangjiaxing/sympy,atreyv/sympy,amitjamadagni/sympy,kaichogami/sympy,ahhda/sympy,farhaanbukhsh/sympy,garvitr/sympy,lindsayad/sympy,Shaswat27/sympy,bukzor/sympy,yukoba/sympy,AunShiLord/sympy,vipulroxx/sympy,hargup/sympy,skidzo/sympy,abhiii5459/sympy,yashsharan/sympy,lindsayad/sympy,liangjiaxing/sympy,abloomston/sympy,Gadal/sympy,iamutkarshtiwari/sympy,kmacinnis/sympy,vipulroxx/sympy,mafiya69/sympy,skidzo/sympy,sunny94/temp,jamesblunt/sympy,hrashk/sympy,postvakje/sympy,grevutiu-gabriel/sympy,Sumith1896/sympy,pbrady/sympy,minrk/sympy,AunShiLord/sympy,cswiercz/sympy,Mitchkoens/sympy,kaichogami/sympy,farhaanbukhsh/sympy,yukoba/sympy,chaffra/sympy,Sumith1896/sympy,kumarkrishna/sympy,atsao72/sympy,beni55/sympy,ChristinaZografou/sympy,meghana1995/sympy,saurabhjn76/sympy,wanglongqi/sympy,amitjamadagni/sympy,saurabhjn76/sympy,Arafatk/sympy,kumarkrishna/sympy,Gadal/sympy,madan96/sympy,jbbskinny/sympy,kumarkrishna/sympy,Curious72/sympy,emon10005/sympy,yukoba/sympy,wyom/sympy,sahmed95/sympy,ga7g08/sympy,postvakje/sympy,shikil/sympy,Designist/sympy,sahmed95/sympy,lindsayad/sympy,shipci/sympy,shikil/sympy,cswiercz/sympy,skirpichev/omg,jerli/sympy,garvitr/sympy,sampadsaha5/sympy,aktech/sympy,abloomston/sympy,shikil/sympy,sunny94/temp,Titan-C/sympy,mcdaniel67/sympy,sahilshekhawat/sympy,dqnykamp/sympy,souravsingh/sympy,chaffra/sympy,MechCoder/sympy,drufat/sympy,ahhda/sympy,yashsharan/sympy,atsao72/sympy,drufat/sympy,Davidjohnwilson/sympy,beni55/sympy,diofant/diofant,kevalds51/sympy,debugger22/sympy,toolforger/sympy,oliverlee/sympy,liangjiaxing/sympy,sahmed95/sympy,mcdaniel67/sympy,ChristinaZografou/sympy,AunShiLord/sympy,emon10005/sympy,cswiercz/sympy,atreyv/sympy,garvitr/sympy,srjoglekar246/sympy,MridulS/sympy,vipulroxx/sympy,atsao72/sympy,emon10005/sympy,rahuldan/sympy,jbbskinny/sympy,debugger22/sympy,AkademieOlympia/sympy,ahhda/sympy,wanglongqi/sympy,jamesblunt/sympy,pernici/sympy,maniteja123/sympy,MridulS/sympy,saurabhjn76/sympy,sampadsaha5/sympy,madan96/sympy,chaffra/sympy,Davidjohnwilson/sympy,mcdaniel67/sympy,Mitchkoens/sympy,oliverlee/sympy,sampadsaha5/sympy,lidavidm/sympy,grevutiu-gabriel/sympy,ga7g08/sympy,lidavidm/sympy,debugger22/sympy,jamesblunt/sympy,wyom/sympy,skidzo/sympy,dqnykamp/sympy,aktech/sympy,Gadal/sympy,sahilshekhawat/sympy,Designist/sympy,jaimahajan1997/sympy,abloomston/sympy,Sumith1896/sympy,kaushik94/sympy,abhiii5459/sympy,hrashk/sympy,pandeyadarsh/sympy,aktech/sympy,bukzor/sympy,meghana1995/sympy,Vishluck/sympy,Vishluck/sympy,mafiya69/sympy,mafiya69/sympy,moble/sympy,MechCoder/sympy,Curious72/sympy,MechCoder/sympy,cccfran/sympy,maniteja123/sympy,AkademieOlympia/sympy,meghana1995/sympy,hrashk/sympy,wyom/sympy,rahuldan/sympy,VaibhavAgarwalVA/sympy,jaimahajan1997/sympy,Vishluck/sympy,moble/sympy,pbrady/sympy,drufat/sympy,yashsharan/sympy,Titan-C/sympy,AkademieOlympia/sympy,jerli/sympy,flacjacket/sympy,cccfran/sympy,shipci/sympy,Designist/sympy,ga7g08/sympy,kmacinnis/sympy,VaibhavAgarwalVA/sympy,kmacinnis/sympy,Titan-C/sympy,Shaswat27/sympy,madan96/sympy,iamutkarshtiwari/sympy,toolforger/sympy,bukzor/sympy,VaibhavAgarwalVA/sympy,Davidjohnwilson/sympy,MridulS/sympy,hargup/sympy,hargup/sympy,postvakje/sympy,atreyv/sympy,kaushik94/sympy,Curious72/sympy,grevutiu-gabriel/sympy,cccfran/sympy,minrk/sympy