combinatorics/permutations: Code cleanup of permutations. We now use array_form and cyclic_form properties instead of explicit checks followed by conversions.
combinatorics/permutations: Code cleanup of permutations. We now
use array_form and cyclic_form properties instead of explicit
checks followed by conversions.

Signed-off-by: Saptarshi Mandal <13ec3c7bab52575f3a0cda6406c76269cc13b041@gmail.com>

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