Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save willprice/47cb0fce6a297745eff6641a58d47f41 to your computer and use it in GitHub Desktop.
Save willprice/47cb0fce6a297745eff6641a58d47f41 to your computer and use it in GitHub Desktop.
How to sample N positive integers whose sum equals M
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment