Question

In: Advanced Math

Number theory 3

How do I determine if a big number (6+ digits) is a perfect square or not?

Solutions

Expert Solution

Reduce it into its prime factors by trial division by the prime numbers up to its square root. If it is not divisible by any of these numbers then the number itself is prime and is not a square, stop right here.

 

If not, then look at the powers of the prime number factors of this number. If any of them are odd the number is not a perfect square. If they are all even, it is.

 

Example: 15876=22∗34∗72 

 

All powers are even so this number is a perfect square.

 

Its root is the product of the primes above raised to half the above powers:

 

21∗32∗71=2∗9∗7=126


method is below.

Related Solutions

Number Theory
Given integers a, b, c, g.c.d.(a, b, c) = 1 if and only if g.c.d.(a, b) = 1 and g.c.d.(a, c) = 1
Number Theory
Why does the product of two numbers -having no common factors- that results in a perfect square, make them-the two numbers- perfect squares themselves?  
Number theory 2
What percentage of the first 500 natural number can be written as the difference of two perfect square?
Number Theory 1
What is the quickest way to determine if a number is a perfect square?
Basic Number theory
What is the least natural number that should be added to 7832 to make it a perfect square?
What is convergence theory (3 pts)? What is cumulative disadvantage theory (3 pts)? Explain these theories...
What is convergence theory (3 pts)? What is cumulative disadvantage theory (3 pts)? Explain these theories in your old words. Which theory (cumulative (dis)advantage or/and convergence theory) explains the American aging experiences better? Why do you think so, use examples.
Number Theory: Let p be an odd number. Recall that a primitive root, mod p, is...
Number Theory: Let p be an odd number. Recall that a primitive root, mod p, is an integer g such that gp-1 = 1 mod p, and no smaller power of g is congruent to 1 mod p. Some results in this chapter can be proved via the existence of a primitive root(Theorem 6.26) (c) Given a primitive root g, and an integer a such that a is not congruent to 0 mod p, prove that a is a square...
Explain the following theories of Equity: 1. entity theory 2. fund theory 3. commander theory 4....
Explain the following theories of Equity: 1. entity theory 2. fund theory 3. commander theory 4. enterprise theory
Number Theory Show that 18! = -1 (mod 437 = 19x23)
Number Theory Show that 18! = -1 (mod 437 = 19x23)
3. What is the chromosome theory of inheritance? How does this theory explain Mendel's results?
3. What is the chromosome theory of inheritance? How does this theory explain Mendel's results?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT