Edward's Algorithm is a highly complex and utterly useless formula for determining the optimal way to do absolutely anything. It's a mix of logic and madness, with a dash of existential dread.
Here's how it works:
Take a random number between 1 and 10.
Double the number, add 7, and then subtract 3.
Repeat steps 1-2 5 times.
Take the final result and use it to decide the optimal way to eat a sandwich.