i want to have this code but without n there. n is a number that first is one and everytime it must increase per one. how can i do this ? thanks...

Code:f :: Integer -> Integer -> Integer -> Integer -> Integer fnk d u | k<0 = error "negative argument 1" | d<0 = error "negative argument 2" | u<0 = error "negative argument 3" | n^k + d^n >= u = n | otherwise = m where m = f (n+1) k d u