Number theory

if a+b=k, let S denote the set of all a,b pairs. S={(a,b)R2|a+b=k}. Its a fun exercise to prove this.

max(a,b)Sab=k24

where

argmax(a,b)Sab=(k2,k2)

For example, if a+b = 10, the maximum of ab = 25, where a = 5, b=5