```python
def min_Ops(arr, n, k):
    """
    Calculates the minimum number of operations to make all elements in an array equal.
    An operation consists of increasing an element by k.

    Args:
        arr: A list of integers.
        n: The number of elements in the array.
        k: The value to add in one operation.

    Returns:
        The minimum number of operations required, or -1 if it's impossible.
    """
    if n <= 1:
        return 0

    if k == 0:
        # If k is 0, elements cannot be changed.
        # A solution is possible only if all elements are already equal.
        first_element = arr[0]
        for i in range(1, n):
            if arr[i] != first_element:
                return -1
        return 0

    # Since we can only increase elements, the target value for all elements
    # must be the maximum value in the original array to minimize operations.
    max_element = max(arr)

    total_operations = 0
    for element in arr:
        difference = max_element - element

        # The difference must be a non-negative multiple of k.
        if difference % k != 0:
            return -1

        # Add the number of operations for the current element.
        total_operations += difference // k

    return total_operations
```