Get a Bernoulli number. Please be aware that this is done in pure
JavaScript. So B100 gets you quasi immediate satisfaction
but B1,000 may need a minute or five.
The algorithm caches the results up to Bn