equations solvable for p