# Tag Archives: harmonic progression

Given a binary tree, the task is to check whether the nodes in this tree form an arithmetic progression, geometric progression or harmonic progression.Examples:   Input:â€¦ Read More
Given an integer N, the task is to find the summation of the harmonic series . Examples:  Input: N = 5 Output: 10 floor(3/1) + floor(3/2) + floor(3/3)â€¦ Read More
Harmonic series is inverse of a arithmetic progression. In general, the terms in a harmonic progression can be denoted as 1/a, 1/(a + d), 1/(aâ€¦ Read More
A sequence of numbers is called a Harmonic progression if the reciprocal of the terms are in AP. In simple terms, a, b, c, d,â€¦ Read More
Given a positive integer n, check if it is an Ore number or not. Print ‘YES’ if n is an ore number otherwise print ‘NO’.Oreâ€¦ Read More
Given a number N. The task is to find the Nth Harmonic Number.Let the nth harmonic number be Hn.The harmonic series is as follows:   H1â€¦ Read More
Given the first element of the progression ‘a’, common difference between the element ‘d’ and number of terms in the progression ‘n’, where . The taskâ€¦ Read More
Given a value n, find the sum of series, (n/1) + (n/2) + (n/3) + (n/4) +…….+(n/n) where the value of n can be upâ€¦ Read More
Progression (or Sequences and Series) are mathematical concepts that involve arranging numbers in a particular order based on a repeatable pattern. The topic of Progressionsâ€¦ Read More
Consider the following famous puzzle. In a country, all families want a boy. They keep having babies till a boy is born. What is the expectedâ€¦ Read More
If inverse of a sequence follows rule of an A.P i.e, Arithmetic progression, then it is said to be in Harmonic Progression.In general, the termsâ€¦ Read More