Sum of first K numbers which are not divisible by N
Given two numbers N and K, the task is to find the sum of first K numbers which are not divisible by N.Examples: Input: N = 5, K = 10 Output: 63 Explanation: Sum of { 1, 2, 3, 4, 6, 7, 8, 9, 11, 12 } is 63. Input: N = 3, k = 13 Output: 127 Explanation: Sum of { 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16,