Q24 Ramanujan number is the smallest number that can be expressed as sum of two cubes in two different ways. Write a program to print all such numbers up to a reasonable limit.
Program: 117
Ramanujan number is the smallest number that can be expressed as sum of two cubes in two different ways. Write a c program to print all such numbers up to a reasonable limit.
The Smallest Ramanujan Number is “1729“
Output:
1729 4104 13832 20683