I would very much like to know how the formula for E(n) was derived

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.