try crt before using general congruence solver
try crt before using general congruence solver

Find the integer described by the given (remainder, modulus) pairs:

    assert solve_congruence(*zip([3, 4, 2], [12, 35, 17])) == (1719, 7140)
    assert solve_congruence(*zip([3, 4, 2], [12, 6, 17])) is None
    assert solve_congruence(*zip([3, 4, 2], [13, 7, 17])) == (172, 1547)
    assert solve_congruence(*zip([-10, -3, -15], [13, 7, 17])) == (172, 1547)

Unlike the Chinese Remainder Rheorem's requirements, the moduli
need not be co-prime.

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