Example 29: Ramanujan Number Series
Learn how to print a Ramanujan Number Series.
We'll cover the following...
Problem
The Ramanujan number is the smallest number expressed as the sum of two cubes in two different ways.
Write a program to print all such numbers up to 20.
Example
Input | Output |
---|
Access this course and 1400+ top-rated courses and projects.