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 202109 by hardmath last updated on 20/Dec/23

  How many different three-digit numbers a satisfy the condition GCD(a;18)>=2 ?

How many different three-digit numbers a satisfy the condition GCD(a;18)>=2 ?

Answered by mr W last updated on 22/Dec/23

100≤a≤999  18=2×3^2   18 has following factors which are  equal or greater than 2:  2, 3, 6, 9, 18  that means a must be a multiple of  2 or 3 or 6 or 9 or 18.  a=2k: ⇒ ⌊((999)/2)⌋−⌊((99)/2)⌋=499−49=450  a=3k: ⇒ ⌊((999)/3)⌋−⌊((99)/3)⌋=333−33=300  a=6k: ⇒ ⌊((999)/6)⌋−⌊((99)/6)⌋=166−16=150  a=9k: ⇒ ⌊((999)/9)⌋−⌊((99)/9)⌋=111−11=100  a=18k: ⇒ ⌊((999)/(18))⌋−⌊((99)/(18))⌋=55−5=50    18k      9k      6k       3k      2k    50+100+150+300+450    50+100_(50) +150_(100) +300_(250_(200_(100) ) ) +450_(400_() )   50+50+100+100+300=600 numbers ✓

100a99918=2×3218hasfollowingfactorswhichareequalorgreaterthan2:2,3,6,9,18thatmeansamustbeamultipleof2or3or6or9or18.a=2k:9992992=49949=450a=3k:9993993=33333=300a=6k:9996996=16616=150a=9k:9999999=11111=100a=18k:999189918=555=5018k9k6k3k2k50+100+150+300+45050+10050+150100+300250200100+45040050+50+100+100+300=600numbers

Commented by hardmath last updated on 21/Dec/23

perfect dear professor, thank you so much

perfectdearprofessor,thankyousomuch

Commented by hardmath last updated on 21/Dec/23

  My dear professor, excuse me, what does the red part on the last line mean?  And where did they come from?

My dear professor, excuse me, what does the red part on the last line mean? And where did they come from?

Commented by mr W last updated on 22/Dec/23

if a number is divisible by 18, then  it is also divisible by 9, by 2, by 6, by 3.  similarly if a number is divisible  by 9, then it is also divisible by 3.  and if it is divisible by 6, it is also  divisible by 3 and by 2.  so we must substract the numbers  which are doubly counted as shown  in the last line.

ifanumberisdivisibleby18,thenitisalsodivisibleby9,by2,by6,by3.similarlyifanumberisdivisibleby9,thenitisalsodivisibleby3.andifitisdivisibleby6,itisalsodivisibleby3andby2.sowemustsubstractthenumberswhicharedoublycountedasshowninthelastline.

Commented by hardmath last updated on 22/Dec/23

Excellent dear pfofessor,  thank you very mych

Excellentdearpfofessor,thankyouverymych

Terms of Service

Privacy Policy

Contact: info@tinkutara.com