The expressions
A
=
1
×
2
+
3
×
4
+
5
×
6
+
⋯
+
3
7
×
3
8
+
3
9
and
B
=
1
+
2
×
3
+
4
×
5
+
⋯
+
3
6
×
3
7
+
3
8
×
3
9
are obtained by writing multiplication and addition operators in an alternating pattern between successive integers. Find the positive difference between integers
A
and
B
.
This problem is part of this set .
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.
Really easy pattern to follow, god knows why this is level 5 ! Btw, upvoted.
We note that:
⎩ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎧ A = k = 1 ∑ 1 9 2 k ( 2 k − 1 ) + 3 9 = 4 k = 1 ∑ 1 9 k 2 − 2 k = 1 ∑ 1 9 k + 3 9 B = 1 + k = 1 ∑ 1 9 2 k ( 2 k + 1 ) = 1 + 4 k = 1 ∑ 1 9 k 2 + 2 k = 1 ∑ 1 9 k
Therefore,
∣ A − B ∣ = ∣ ∣ ∣ ∣ ∣ 3 8 − 4 k = 1 ∑ 1 9 k ∣ ∣ ∣ ∣ ∣ = ∣ ∣ ∣ ∣ 3 8 − 3 4 ( 1 9 ) ( 2 0 ) ∣ ∣ ∣ ∣ = ∣ 3 8 − 7 6 0 ∣ = 7 2 2
Here, A = ∑ n = 1 1 9 [ ( 2 n − 1 ) ∗ 2 n ] + 3 9 and B = 1 + ∑ n = 1 1 9 [ 2 n ∗ ( 2 n + 1 ) ] .
Now, B − A = − 3 8 + ∑ n = 1 1 9 [ 2 n ∗ ( 2 n + 1 − ( 2 n − 1 ) ) ]
= − 3 8 + 4 ∑ n = 1 1 9 n = − 3 8 + 4 ∗ 2 1 9 ∗ 2 0 = 7 2 2 .
B = 2.3 + 4.5 + 6.7 + 38 . 39 + 1
B - A = 2.2 + 4.2 + 6.2 + .........+ 38 . 2 - 38 = 4 ( 1 + 2 + 3 + ........+ 19) - 38 = 4 ( 19 * 20)/2 - 38 = 760 - 38 = 722
Problem Loading...
Note Loading...
Set Loading...