f(x) = x2-(8k)x + (20k2+1)
= x2 - (8k)x + 16k2 - 16k2 + 20k2 + 1
= (x-4k)2 + 4k2 + 1
The vertex (lowest point) = (4k, 4k2+1)
So, 4k2+1 = r2+4k
r2 = 4k2-4k+1
r2 = (2k-1)2
r = ±(2k-1)
I get two possibilities for r: r = 2k-1 or r = 1-2k.