I have a python script that prints out lists of numbers that are perfect cubes and add to 1978. Here is the output:
`[1, 27, 729, 512, 8, 512, 1, 8]
[1, 27, 729, 512, 8, 512, 8, 1]
[1, 27, 729, 512, 512, 1, 8, 8]
[1, 27, 729, 512, 512, 8, 1, 8]
[1, 27, 729, 512, 512, 8, 8, 1]
[1, 64, 8, 64, 125, 512, 512, 512]
[1, 64, 8, 64, 512, 125, 512, 512]
[1, 64, 8, 64, 512, 512, 125, 512]
[1, 64, 8, 64, 512, 512, 512, 125]
[1, 64, 8, 125, 64, 512, 512, 512]`
I only want the results once, and not dupplacates, as I do not care what order the numbers are in, so out of this sample, I would only want 2 answers instead of 10. Is there a way to do this?
Edit: also, the results take about a day to write out because there are so many, so I need something that can actively filter, so it goes faster