Comment OFFTOPIC: MATHS PROBLEM (Score 0) 119
This topic has to do with crypto which has to do with maths so here I go:-
You have 5 distinct CS books, 3 distinct math books and 2 distinct art books.
Q: How many ARRANGEMENTS if art books are NOT together?
My thinking:
Total arrangements 10!
Arrangements with art books together: 9!2!
Hence arrangements not together == 10! - 9!2!
== 2903040
Is this right? I know its damn easy but my brain isn't working now.
Maybe I should just write a bash script to enumerate all the possibilities. I bet someone could do it in a one liner. Too sleepy though.
All flames to /dev/null.
You have 5 distinct CS books, 3 distinct math books and 2 distinct art books.
Q: How many ARRANGEMENTS if art books are NOT together?
My thinking:
Total arrangements 10!
Arrangements with art books together: 9!2!
Hence arrangements not together == 10! - 9!2!
== 2903040
Is this right? I know its damn easy but my brain isn't working now.
Maybe I should just write a bash script to enumerate all the possibilities. I bet someone could do it in a one liner. Too sleepy though.
All flames to