Skip to content

Instantly share code, notes, and snippets.

@joowkim
Last active December 30, 2018 13:27
Show Gist options
  • Save joowkim/1172d6b67a445b1ed3bc170a76c6cc98 to your computer and use it in GitHub Desktop.
Save joowkim/1172d6b67a445b1ed3bc170a76c6cc98 to your computer and use it in GitHub Desktop.
sampling table combination permutation replacement
order matters order doesn't matter
replacement n^^k (n+k-1 choose k)
don't replace n(n-1)/(n-k+1) (n choose k)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment