Summation and Highest Common Factor (HCF)