Mathematics jhonyy9:

HELP !!! can somebody explain me please how can i understanding this exercise correct ? thank you in advance jhonyy9:

The set of numbers 1,2,....,2002 is divided into 2 groups, one comprising numbers with odd sums of digits and the other comprising numbers with even sum of digits. Let A be the sum of the numbers in the first group and B be the sum of the numbers in the second group. Find A - B. (Ukranian Maths Olympiad, 9th grade, 2002) jhonyy9:

@TheSmartOne please one example suppose between 1 till 10 jhonyy9:

ty Zepdrix:

I'm not sure what the trick is for this problem. But I can give you some smaller groups of numbers that I tried, if it will get you on the right track.

When our set of numbers is 1,2,3,...,10 a = {1,3,5,7,9,10} b = {2,4,6,8} They say let A be the sum of the numbers in the first group, A = 1 + 3 + 5 + ... + 10 = 35 and B be the sum of the numbers in the other group, B = 2 + 4 + 6 + 8 = 20 So then A - B = 35 - 20 = 15
When our set of numbers is 1,2,3,...,20 a = {1,3,5,7,9,10,12,14,16,18} b ={2,4,6,8,11,13,15,17,19,20} A = 1 + 3 + 5 + ... + 18 = 95 B = 2 + 4 + 6 + ... + 20 = 115 So then A - B = 95 - 115 = -20
When our set of numbers is 1,2,3,...,30 a={1,3,5,7,9,10,12,14,16,18,21,23,25,27,29,30} b={2,4,6,8,11,13,15,17,19,20,22,24,26,28} A = 1 + 3 + 5 + ... + 30 = 250 B = 2 + 4 + 6 + ... + 28 = 215 So then A - B = 35 jhonyy9:

@Zepdrix thank you very much - is clearly now - ok. ty. imqwerty:

consider the numbers who have their digits summing to even as True and the ones with digits summing to odd as False for the number range [0,9] (10 numbers) B - A = 5 now if we add a 1 in front of all these numbers we get the range [10,19] so all the true numbers from the Range [0-9] become false and all the False numbers from [0-9] become true B-A for the range [10-19] is -5 because the values got flipped similarly B-A for the range [20-29] is +5 imqwerty:

run \(\href{https://repl.it/repls/StaidEachCoordinates}{this}\) code to see the pattern imqwerty:

|dw:1563655473545:dw|

Latest Questions Citlaliestrada: Dora is purchasing a 162,000 home with a 30 year mortgage at a 5.15% what is her
2 hours ago 1 Reply 0 Medals kgd110: Charlie is watching hot air balloons. Balloon A has risen at a 56u00b0 angle. Balloon B has risen at an 81u00b0 angle.
4 hours ago 7 Replies 2 Medals Alizzybooth: Is it possible to feel another persons pain? Emotionally and physically?
1 hour ago 5 Replies 2 Medals victoriadudley: A dump truck can hold 2 tons of gravel. The pay loader loading the truck puts 750 pounds of gravel in the truck at one time.
7 hours ago 0 Replies 0 Medals elenygonzalez07: A cylindrical vase has a diameter of 6 inches. At the bottom of the vase, there are 9 marbles, each of diameter 3 inches.
8 hours ago 7 Replies 2 Medals user72236: Which idea is expressed in this excerpt from "Anecdote of the Jar" by Wallace Stevens? The wilderness rose up to it, And sprawled around, no longer wild.
9 hours ago 0 Replies 0 Medals imthecuteone: i need help. im feeling suicidal. i dont know what to do anymore
9 hours ago 2 Replies 3 Medals imthecuteone: im so done with everything, nothing matters anymore, i just wanna die..... i cant
10 hours ago 0 Replies 0 Medals kovemail101: Based on information in the poster below, which phrase best describes the artist'
11 hours ago 2 Replies 0 Medals