Therefore, any patent that claims a method of solving a problem by programming a general-purpose computer is, like the patent the high court struck down 40 years ago, effectively a patent on a mathematical algorithm.
In general, the most elegant solutions to software patents involve changes to the patent statute, although most advocates are reluctant to explore this route.