Skip to content

Instantly share code, notes, and snippets.

@krishnanraman
Last active March 10, 2024 19:02
Show Gist options
  • Save krishnanraman/84454eb036853fa73f8a5c4226e64af9 to your computer and use it in GitHub Desktop.
Save krishnanraman/84454eb036853fa73f8a5c4226e64af9 to your computer and use it in GitHub Desktop.
3.R
dim(subset(expand.grid(a=0:80,b=seq(2,80,2),c=c(0,2,5)), a+b+c == 80))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment