How many ways can you choose n groups of n people from n^2
people, assuming the groups are distinct? The number of people is given in input.
Please fix the test suite so rounding isn't required to get the correct answer for x=25.
I agree with James: for test 3 the true answer is 623360743125120. It should also be clarified in the problem statement that the function input "x" corresponds to n² (not n). Lastly, it is better not to format the problem statement as if it were code.
The Goldbach Conjecture, Part 2
Remove the polynomials that have positive real elements of their roots.
Are you in or are you out?
Construct an index vector from two input vectors in vectorized fashion
Count up then down
How many ways to write
odd number odd sum
How many ways to write a number
Find the number of rectangles
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office