solve a^pi+b^pi=c^pi over the integers