def No_of_Triangle(N, K):
    if K <= 0 or N <= 0 or K > N:
        return 0

    side = N // K
    return side * side