-
Notifications
You must be signed in to change notification settings - Fork 18.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pronic Number #Hacktober Fest #2390
Comments
Dear sir/maam , below is the algorithm , code and output of pronic number. A pronic number is such a number which can be represented as a product of two consecutive positive integers. By multiplying these two consecutive positive integers, there can be formed a rectangle which is represented by the product or pronic number. So it is also known as Rectangular Number. Mathematical Representation: If x is a pronic number, then x=n(n+1) ∀ n∈N0 Input : 56 Input : 65 Algorithm: code: // Java program to check if a number is pronic or not import java.io.; class Pronic
} |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions! |
Respected Sir,
Can I work on the algorithm/code for checking if a number is a pronic number or not.I did not find it in the Java/Maths folder.It can be added there.A pronic number is a number which is the product of two consecutive integers .i.e. a number of the form n(n + 1).
Thank you.
#Hacktoberfest
The text was updated successfully, but these errors were encountered: