Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dotancohen
11 months ago
|
parent
|
context
|
favorite
| on:
Project Euler #912: Where are the Odds?
Now I see it. Twenty items (R operations) in 40 slots: 40!/(20!) and the order of the items does not matter, so again divide by 20!. The remaining slots are D operations.
The answer actually came to me in the shower this morning.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
The answer actually came to me in the shower this morning.