If it's worth saying, but not worth its own post, then it goes here.
Notes for future OT posters:
1. Please add the 'open_thread' tag.
2. Check if there is an active Open Thread before posting a new one. (Immediately before; refresh the list-of-threads page before posting.)
3. Open Threads should start on Monday, and end on Sunday.
4. Unflag the two options "Notify me of new top level comments on this article" and "
Define "optimal". Optimizing for the utility function of min(my effort), I could misuse more company resources to run random search on.
The optimal is to either minimize the energy or the time required, by my book. Or to minimize algorithmic steps. Doesn't really matter which one of those definitions you adopt, they are closely related.
It's like the Kolmogorov's complexity. Which program language to use as the reference? Doesn't really matter. Just use the one I gave, or modify it in any sensible way. Then find a very good solution for 23142314 - or any other interesting number. They are all interesting.