Loop to Count no . of pairs satisfying a ^ 3 + b ^ 3 = i for N = 1 to 10
for ( int i = 1 ; i <= 10 ; i ++ ) System . out . println ( " For ▁ n ▁ = ▁ " + i + " , ▁ " + + countPairs ( i ) + " ▁ pair ▁ exists " ) ; } }