qqp question1: "Why didn't Richard obtain a patent for his ""middle-out"" algorithm to protect Pied Piper from IP theft?" question2: I invented a string searching algorithm. How do I go about ensuring it is named after me? Is it possible to patent / copyright it or something else? Can algorithms be protected?