//2+gcd(p-1,3)+gcd(p-1,4)/2 algebras
<a,b,c|baa,bab,pa-wcb,pb-ca,pc,class=3>
<a,b,c|baa,cbb,pa-wcb,pb-ca,pc,class=3>
<a,b,c|baa,cbb,pa-wcb,pb-ca,pc-bab,class=3>
<a,b,c|baa,cbb,pa-wcb,pb-ca,pc-wbab,class=3>(p=1 mod 3)
<a,b,c|baa,cbb,pa-wcb,pb-ca,pc-w^2bab,class=3>(p=1 mod 3)
<a,b,c|baa,cbb,pa-wcb,pb-ca-bab,pc,class=3>
<a,b,c|baa,cbb,pa-wcb,pb-ca-wbab,pc,class=3>(p=1 mod 4)
