we are given a problem to make this in a program but i don't quite understand what it means or requires.

• Look for positive integers that are not the sum of the cubes of nine different positive integers.

can someone help me out..
Thanks

Recommended Answers

All 2 Replies

Just an idea...

The first 9 positive integers are: 1, 2, ..., 9
Their cubes are: 1, 4, ..., 81
The sum of these cubes is: 285

285 has to excluded from the list

And so on...

>> Their cubes are: 1, 4, ..., 81

no their cubes are 1^3, 2^3 , 3^3 ... 9^3

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.