-
Notifications
You must be signed in to change notification settings - Fork 142
62 does not seem right to me #13
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
Comments
Ok, so, looking at your actual code (I got stuck trying to understand the formula), it looks like you're actually using the formula |
@zwhitchcox Yes, sorry for not making it clearer, |
No! Don't be sorry! Thanks so much for posting your solutions, they are very helpful to me. It makes a lot more sense now :)...had to watch a few khan academy videos though |
So, the actual formula would be in case anyone else has trouble with this |
The formula you gave seems incorrect to me. I know you said it's high school math, but I guess I forgot it.
It works, for the example, but I don't see how it could work for many other ones.
For example, say you have a 3x3 matrix. With your formula, it would be
3!/(3!*(3 - 3)!) = 1
. It seems to me like there would be more than one way to make it down in a 3 by 3 matrix. In fact, matrix with the same number of rows and columns would equal 1 with the formulan! / r!(n-r)!
.Am I missing something here?
The text was updated successfully, but these errors were encountered: