Count of all possible pairs having sum of LCM and GCD equal to N
Given an integer N, the task is to find the count of all possible pairs of integers (A, B) such that GCD (A, B) + LCM (A, B) = N. Examples: Input: N = 14Output: 7Explanation: All the possible pairs are {1, 13}, {2, 12}, {4, 6}, {6, 4}, {7, 7}, {12, 2}, {13, 1} Input: N = 6Output: 5 Approach:Follow t