Given a number N, the task is to find the next perfect cube greater than N.
Input: N = 6 Output: 8 8 is a greater number than 6 and is also a perfect cube Input: N = 9 Output: 27
- Find the cube root of given N.
- Calculate its floor value using floor function in C++.
- Then add 1 to it.
- Print cube of that number.
- Largest perfect cube number in an Array
- Largest number in an array that is not a perfect cube
- Count numbers upto N which are both perfect square and perfect cube
- Find the Next perfect square greater than a given number
- Count all triplets whose sum is equal to a perfect cube
- Smallest perfect Cube divisible by all elements of an array
- N-th number which is both a square and a cube
- Centered cube number
- Find minimum number to be divided to make a number a perfect square
- Number of times the largest perfect square number can be subtracted from N
- Find the Largest Cube formed by Deleting minimum Digits from a number
- Perfect Number
- Number of perfect squares between two given numbers
- Check if given number is perfect square
- Program to check Plus Perfect Number
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.