A simple and fast permutation generator (7)
You know what’s weird? It was right in front of me, but I didn’t make the connection. If you look at part 4 of this series, you can see that the runtime order formula was : ~2,718281828 N!
Dude, 2,718281828… that’s e.
A colleague of mine had to point that out to me ( thanks xtofl 😉 )
Pretty amazing to see that little magic number pop up in this subject. I mean, with the number pi , you can at least see that it has to do with a circle and its circumference, and that almost always explains how pi pops up in formulas. But with e, this is less clear. Less clear to me, that is. The average mathematician will probably think nothing of this result.
Hopefully more on this later, but I can guarantee absolutely nothing.
Any help here would also be greatly appreciated.
Entry filed under: Command Line.