Ada Lovelace , countess of Lovelace,daughter of the English poet Lord Byron and an amateur mathematician, is now widely known as the first computer programmer. What is amazing is the fact that she wrote a completely bug free program without ever running it on the machine.
Lovelace was deeply interested in Charles Babbage 's Analytic Engine and proposed a program to compute the Bernoulli numbers using punch cards. Her original note on the program describes a clever way of computing these numbers. Can you recreate the first computer program or make your own so as to efficiently find these numbers?
The th Bernoulli number is given by the double sum
If can be represented as for two co-prime integers and . Find the last five digits of
Details and assumptions
Explicit example
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!