Is a Pronic Number?
A Pronic Number Is a Number Which Is the Product of Two Consecutive Integers, That Is, a Number of the Form N(N + 1). .. . the First Few Pronic Numbers Are: 0...
A pronic number is a number which is the product of two consecutive integers, that is, a number of the form n(n + 1). ... The first few pronic numbers are: 0, 2, 6, 12, 20, 30, 42, 56, 72, 90, 110, 132, 156, 182, 210, 240, 272, 306, 342, 380, 420, 462 … (sequence A002378 in the OEIS).
How do I find my pronic number?
Algorithm to find Pronic Number
- Check number N is pronic or not.
- Calculate the square root K of the given number N.
- Multiply K * (K+1), if result is equal to the number N, then N is a pronic number otherwise not.
What is pronic number in C?
Pronic number is a product of two consecutive integers of the form: n(n+1). For example: 6 = 2(2+1)= n(n+1), 72 =8(8+1) = n(n+1)