# Tag Archives: maths-cube

Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term.Examples :   Input : n = 5 Output… Read More
Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term. Examples: Input : n = 5 Output… Read More
Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term.Examples:   Input : n = 5 Output :… Read More
Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term.Examples:   Input : n = 5 Output :… Read More
Print the sum of series 13 + 23 + 33 + 43 + …….+ n3 till n-th term. Examples: Input : n = 5 Output… Read More
Cube is a 3-dimensional box-like figure represented in the 3-dimensional plane. Cube has 6 squared-shape equal faces. Each face meet another face at 90 degree… Read More
Given an array of n integers, count all different triplets whose sum is equal to the perfect cube i.e, for any i, j, k(i <… Read More
Given a number n, find sum of first n odd natural numbers.  Input : 2 Output : 28 1^3 + 3^3 = 28 Input :… Read More
Given a number n, find sum of first n even natural numbers. Examples:   Input : 2 Output : 72 2^3 + 4^3 = 72 Input :… Read More
Given N, count all ‘a’ and ‘b’ that satisfy the condition a^3 + b^3 = N. Examples:   Input : N = 9 Output : 2 1^3… Read More
Given two given numbers a and b where 1 <= a <= b, find perfect cubes between a and b (a and b inclusive).Examples:   Input… Read More
Given a number n, find two pairs that can represent the number as sum of two cubes. In other words, find two pairs (a, b)… Read More
Given a number n, find two pairs that can represent the number as sum of two cubes. In other words, find two pairs (a, b)… Read More