Nothing
printsums <- function(n){
n <- n-3
results <- character(0)
for (x in 0:n) {
for ( y in (0:(n-x)) ) {
z <- n - x - y
results <- c(results,paste(x+1,"+",y+1,"+",z+1,"=",x+y+z+3))
}
}
return(results)
}
length(printsums(20)) # how many solutions?
printsums(20)[1:10] # first 10 solutions
printsums(7) # smaller example
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.