Numbers which are not the sum of distinct squares: Difference between revisions

m
Line 49:
@show squares = [n * n for n in 1:20]
 
possibles = [n for n in 1:500 if all(combo -> sum(combo) != n, combinations(squares))]
combinations(squares))]
 
println(possibles)
4,102

edits