The Enchantress of numbers

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 n n th Bernoulli number B n B_{n} is given by the double sum

B n = k = 0 n 1 k + 1 r = 0 k ( 1 ) r ( k r ) r n B_n=\sum _{ k=0 }^n{ \frac{1}{ k+1 }}\sum _{ r=0 }^k(-1)^r\dbinom{k}{r}r^n

If S 500 = n = 0 500 B n S_{500}=\sum _{ n=0 }^{ 500 }{ { B }_{ n } } can be represented as a b -\frac{a}{b} for two co-prime integers a a and b b . Find the last five digits of a + b a+b

Details and assumptions

  • B n B_{n} is the "original" Bernoulli number where B 1 = 1 2 B_{1} = \frac{1}{2} not 1 2 \frac{-1}{2} .

Explicit example

S 5 = n = 0 5 B n = 49 30 S_{5}=\sum _{ n=0 }^{ 5 }{ { B }_{ n } } = \frac{49}{30}


The answer is 14015.

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.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...