t = ((r^2) + r)/2