A = 1 × 9 9 1 + 3 × 9 7 1 + 5 × 9 5 1 + . . . + 9 9 × 1 1 1 1 + 3 1 + 5 1 + . . . + 9 9 1 Find A .
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.
(Slight edit since the n only goes odd, as pointed out.)
But the n goes odd only...
Oh, my bad. I'll edit my solution.
Let x x 2 x ⟹ 1 0 0 2 x A = n = 0 ∑ 4 9 2 n + 1 1 = n = 0 ∑ 4 9 2 ( 4 9 − n ) + 1 1 = n = 0 ∑ 4 9 2 n + 1 1 + 2 ( 4 9 − n ) + 1 1 = n = 0 ∑ 4 9 ( 2 n + 1 ) ( 2 ( 4 9 − n ) + 1 ) ( 2 n + 1 ) + ( 2 ( 4 9 − n ) + 1 ) = n = 0 ∑ 4 9 ( 2 n + 1 ) ( 2 ( 4 9 − n ) + 1 ) 1 0 0 = n = 0 ∑ 4 9 ( 2 n + 1 ) ( 2 ( 4 9 − n ) + 1 ) 1 = ∑ n = 0 4 9 ( 2 n + 1 ) ( 2 ( 4 9 − n ) + 1 ) 1 ∑ n = 0 4 9 2 n + 1 1 = ( 1 0 0 2 x ) x = 2 1 0 0 = 5 0
<?php
$num = 0;
$den = 0
for($i=1;$i<=99;$i+=2){
$num += 1/$i;
$den += 1/($i*(100-$i));
}
echo $num/$den; //50
?>
Quick and dirty code, we're adding the values in the numerator and denominator separately then combining them at the end of the loop
It gives us a nice clean integer solution, 50
Good problem
1/(2n-1)(101-2n)=(1/100)[{1/(2n-1)}+{1/(101-2n)}]. From symmetry, A=100[(1/1)+(1/3)+(1/5)+...+(1/99)]/[2{(1/1)+(1/3)+...+(1/99)}]=100/2=50
Problem Loading...
Note Loading...
Set Loading...
Let S = 1 1 + 3 1 + 5 1 + … + 9 9 1
Decompose the fractions in the denominator:
1 × 9 9 1 = 1 0 0 1 ( 1 1 + 9 9 1 ) 3 × 9 7 1 = 1 0 0 1 ( 3 1 + 9 7 1 ) ⋮
The denominator of A becomes 1 0 0 1 × 2 S
Therefore, 1 0 0 1 × 2 S S = 5 0