Solving the GCD of 2^10 and 10!: A Number Trick?

  • Thread starter Thread starter lordy12
  • Start date Start date
  • Tags Tags
    Gcd
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
4 replies · 3K views
lordy12
Messages
36
Reaction score
0
large number!

1. Finding gcd(2^10,10!



Homework Equations





3. I attempted to try the Euclidean algorithm, but it would take forever. Is there a certain number trick?
 
Physics news on Phys.org
gcd(a,b) is the largest number that divides both a and b. It must be a power of 2. Why did I say that?
 
i know its a power of 2, but you still have to use the euclidean algorithm. I don't want a "guess and check process."
 
Then think of prime factors. How many 2's are there in the factorization of 10! ?