Skip to content

Instantly share code, notes, and snippets.

@dkatz23238
Created May 26, 2022 15:04
Show Gist options
  • Save dkatz23238/cf3d47b86080e188e0daf9b2d5c226ee to your computer and use it in GitHub Desktop.
Save dkatz23238/cf3d47b86080e188e0daf9b2d5c226ee to your computer and use it in GitHub Desktop.
AI Research
n = 10
q = 2
potential_solutions = sum([comb(n, i) * (2 ** (q * i)) for i in range(n + 1)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment