Question and Answers Forum

All Questions      Topic List

Algebra Questions

Previous in All Question      Next in All Question      

Previous in Algebra      Next in Algebra      

Question Number 188879 by Nimnim111118 last updated on 08/Mar/23

Find the sum of all three digit numbers  started with odd number when each digit  are different.    Please help...

Findthesumofallthreedigitnumbersstartedwithoddnumberwheneachdigitaredifferent.Pleasehelp...

Commented by mr W last updated on 08/Mar/23

do you know the answer?

doyouknowtheanswer?

Commented by Nimnim111118 last updated on 08/Mar/23

Sorry, I dont know the answer.  infact, I have no idea

Sorry,Idontknowtheanswer.infact,Ihavenoidea

Commented by mr W last updated on 09/Mar/23

i hope my solution below could have  helped you.

ihopemysolutionbelowcouldhavehelpedyou.

Answered by mr W last updated on 09/Mar/23

axy  xay  xya  [100×9×8+10×8×8+8×8](1+2+3+...+9)  =355 680 ✓

axyxayxya[100×9×8+10×8×8+8×8](1+2+3+...+9)=355680

Commented by Nimnim111118 last updated on 08/Mar/23

Thank you so much.  But still I dont get the idea...

Thankyousomuch.ButstillIdontgettheidea...

Commented by Nimnim111118 last updated on 08/Mar/23

In my opinion:  Required: •sum of all 3 digit                         •all number started by odd                         • no digit are repeated  So, our question is likeky to be added up  the folowing  102+103+104+105+106+107+108+109  +120+123+124+125+126+127+128+129  +130+132+134+135+136+137+138+139  and it will go up to  980+981+982+983+984+985+986+987

Inmyopinion:Required:sumofall3digitallnumberstartedbyoddnodigitarerepeatedSo,ourquestionislikekytobeaddedupthefolowing102+103+104+105+106+107+108+109+120+123+124+125+126+127+128+129+130+132+134+135+136+137+138+139anditwillgoupto980+981+982+983+984+985+986+987

Commented by mr W last updated on 09/Mar/23

in this way you sum up all the valid  numbers.  but i′m too lazy to do this hard work.  instead of this i sum up all the digits  in the numbers. this is easier, because  we have many many numbers, but   only 9 digits.

inthiswayyousumupallthevalidnumbers.butimtoolazytodothishardwork.insteadofthisisumupallthedigitsinthenumbers.thisiseasier,becausewehavemanymanynumbers,butonly9digits.

Commented by mr W last updated on 08/Mar/23

in my solution above i considered   all 3 digit numbers with different  digits, also numbers starting with an  even digit, like 235. if you mean only  numbers starting with an odd digit,  then i must modify my solution.

inmysolutionaboveiconsideredall3digitnumberswithdifferentdigits,alsonumbersstartingwithanevendigit,like235.ifyoumeanonlynumbersstartingwithanodddigit,thenimustmodifymysolution.

Answered by mr W last updated on 09/Mar/23

when we want to get the sum of some  numbers, e.g. 123+456, we can also get  the result by summing up the values  which the individual digits represent.  in this example, to get 123+456, we  can proceed like this:  100×(1+4)+10×(2+5)+1×(3+6)  =500+70+9  =579  to sum up all 3 digit numbers which  start with an odd digit and consist  of 3 different digits, we can use this  method.  to get the sum of all values which  the digit “a“ represents in all  such 3 digit numbers:  type axy:   a=1,3,5,7,9  for each “a” there are 9×8 numbers,  100×9×8×(1+3+5+7+9)=180 000  type xay:  a=1,3,5,7,9 or 2,4,6,8  x=1,3,5,7,9  10×4×8×(1+3+5+7+9)  +10×5×8×(2+4+6+8)=16 000  type xya:  similarly to type xay.  1×4×8×(1+3+5+7+9)  +1×5×8×(2+4+6+8)=1 600  all together:  180 000+16 000+1 600=197 600✓    that means there are totally   5×9×8=360 such numbers, and the   sum of them is 197 600.

whenwewanttogetthesumofsomenumbers,e.g.123+456,wecanalsogettheresultbysummingupthevalueswhichtheindividualdigitsrepresent.inthisexample,toget123+456,wecanproceedlikethis:100×(1+4)+10×(2+5)+1×(3+6)=500+70+9=579tosumupall3digitnumberswhichstartwithanodddigitandconsistof3differentdigits,wecanusethismethod.togetthesumofallvalueswhichthedigitarepresentsinallsuch3digitnumbers:typeaxy:a=1,3,5,7,9foreachathereare9×8numbers,100×9×8×(1+3+5+7+9)=180000typexay:a=1,3,5,7,9or2,4,6,8x=1,3,5,7,910×4×8×(1+3+5+7+9)+10×5×8×(2+4+6+8)=16000typexya:similarlytotypexay.1×4×8×(1+3+5+7+9)+1×5×8×(2+4+6+8)=1600alltogether:180000+16000+1600=197600thatmeanstherearetotally5×9×8=360suchnumbers,andthesumofthemis197600.

Commented by mr W last updated on 08/Mar/23

maybe Brandon sir can check this  result with a program.

maybeBrandonsircancheckthisresultwithaprogram.

Commented by ARUNG_Brandon_MBU last updated on 09/Mar/23

Commented by ARUNG_Brandon_MBU last updated on 09/Mar/23

#include <iostream> using namespace std; int main(void) { short count=0; int sum=0; for (short i0, i1, i2, i=102; i<1000; i++) { i0 = i / 100; i1 = i % 100 / 10; i2 = i % 10; if (i0%2==1&&i0!=i1&&i0!=i2&&i1!=i2) { sum += i; count++; } } cout << "There are " << count << "numbers"; cout << "\n their sum is " << sum; return 0; }

Commented by ARUNG_Brandon_MBU last updated on 09/Mar/23

Commented by mr W last updated on 09/Mar/23

great programing! thanks alot sir!

greatprograming!thanksalotsir!

Commented by ARUNG_Brandon_MBU last updated on 09/Mar/23

You're welcome, Sir ����

Terms of Service

Privacy Policy

Contact: info@tinkutara.com