Function to calculate sum of all the GCD pairs
sumOfGcdPairs ( ) ; int N = 4 ; Console . WriteLine ( " Summation ▁ of ▁ " + N + " ▁ = ▁ " + result [ N ] ) ; N = 12 ; Console . WriteLine ( " Summation ▁ of ▁ " + N + " ▁ = ▁ " + result [ N ] ) ; N = 5000 ; Console . Write ( " Summation ▁ of ▁ " + N + " ▁ = ▁ " + + result [ N ] ) ; } }