Answer the question
In order to leave comments, you need to log in
How to solve a problem in C++ for algorithms?
Natural numbers a and b are given (a<=b ). Write a program to print all numbers from a to b whose squares are equal to their binomial coefficient. Those. k^2+n^2=n!/(k!(nk)!).
It seems easy, I just don't understand what k^2+n^2=n!/(k!(nk)!) means and where to get it from the square of a number.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question