Blow my own trumpet time...In my early days as an analyst (albeit in media marketing), I worked on an algorithm for exponential sales decay.
I signed over the intellectual property to my employers at the time, who modified it to encompass more variables such as performance, value etc. and they then sold it on to a number of companies, including Starlizard and SAP, for an absolute fortune.
And that, ladies and gents, is why I'm not retired and can't be trusted to make any financial decisions in my house ever again...:-)