## Maximum given sized rectangles that can be cut out of a sheet of paper

Given the length L and breadth B of a sheet of paper, the task is to find the maximum number of rectangles with given length… Read More »

## Smallest perfect Cube divisible by all elements of an array

Given an array arr[], the task is to find the smallest perfect cube which is divisible by all the elements of the given array. Examples:… Read More »

## Count numbers upto N which are both perfect square and perfect cube

Given a number N. The task is to count total numbers under N which are both perfect square and cube of some integers. Examples: Input:… Read More »

## Largest number in an array that is not a perfect cube

Given an array of n integers. The task is to find the largest number which is not a perfect cube. Print -1 if there is… Read More »

## Largest perfect cube number in an Array

Given an array of N integers. The task is to find the largest number which is a perfect cube. Print -1 if there is no… Read More »

## Perfect cube greater than a given number

Given a number N, the task is to find the next perfect cube greater than N. Examples: Input: N = 6 Output: 8 8 is… Read More »

## Program to count number of distinct Squares and Cubes upto N

Given a number N, the task is to find No. of perfect Squares and perfect Cubes from 1 to a given integer, N ( Both… Read More »

## Cubes

A type of cuboid in which all the sides i.e length, breadth & height are equal. All faces of cubes are of the same area.… Read More »

## Centered cube number

Given a number n, find the n-th centered cube number. The Centered cube number counts the number of points which are formed by a point… Read More »

## Find the Largest Cube formed by Deleting minimum Digits from a number

Given a number n, the task is to find the largest perfect cube that can be formed by deleting minimum digits(possibly 0) from the number.… Read More »

## Cube Free Numbers smaller than n

A cube free number square free number whose none of any divisor is a cubic number (a number which is cube of an integer). Given… Read More »

## N-th number which is both a square and a cube

Given a number n, find the n-th number which is both a square and a cube. First few such numbers are 1, 64, 729, …… Read More »

## Squared triangular number (Sum of cubes)

Given a number s (1 <= s <= 1000000000). If s is sum of the cubes of the first n natural numbers then print n,… Read More »

## Sum of cubes of even and odd natural numbers

We know that sum of cubes of first n natural numbers is = (n(n+1)/2)2. Sum of cube of first n even natural numbers 23 +… Read More »

## Program for cube sum of first n natural numbers

Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term. Examples : Input : n = 5… Read More »