Question: allow only integer values

f := (k-1)^(p-1)/k; p := 1.99; maximize(f, k = 2 .. infinity, location); this is the problem... and it's working fine... but.. how do i make k take on only integer values?
Please Wait...