Work out the sum, then work out what each of the terms represents :)I tested it on wolfram alpha, Quotient = integer division, integerpart = trunc, rest is fairly normal.