Solutions for 21 and 25
incomplete solution to prob 26
solution for prob 26

Solution using Fermat's theorem