yaworsw/euler-manager

View on GitHub
data/problems/181.yml

Summary

Maintainability
Test Coverage
---
:id: 181
:name: Investigating in how many ways objects of two different colours can be grouped
:url: https://projecteuler.net/problem=181
:content: |+
  Having three black objects B and one white object W they can be grouped in 7 ways like this:

  | (BBBW) | (B,BBW) | (B,B,BW) | (B,B,B,W) | (B,BB,W) | (BBB,W) | (BB,BW) |

  In how many ways can sixty black objects B and forty white objects W be thus grouped?