answersLogoWhite

0


Best Answer

design an algorithm for finding all the factors of a positive integer

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Design an algorithm for finding all the factors of positive integerfor example in the case of the integer 12your algorithm should report 12346 and 12?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does positive factors mean?

All numbers have factors. The factors that are positive numbers are known as positive factors.


What are the positive factors of 32?

the positive factors are 1,2,4,8,16,32.


What are positive common factors?

All nonzero numbers have factors. Some numbers have some of the same factors as other numbers. These are called common factors. Some factors are positive numbers. Common factors which are positive numbers would be called positive common factors.


What are the positive factors of 4?

The positive factors of four are 1,2, and 4.


How are Signs of Factors and Products related?

Positive factors will create a positive product.Negative factors will create a positive product.A negative and a positive factor will create a negative product.


Find the GCD of 4 and 6 using algorithm?

An algorithm isn't necessary in this case. The factors of 4 are 1, 2 and 4 and the factors of 6 are 1, 2, 3 and 6. Just by looking at them we can tell that the common factors are 1 and 2 and that the greatest of these is 2.


What is the sum of the positive factors of 5o4?

The sum of the positive factors of 504 is: 1,560


What are the positive factors for 25?

The positive factors for 25 are: 1 5 25.


Does the number of positive factors affect the sign of the product?

No. Any number of positive factors will lead to a positive product.


How many positive integral factors does 3000000 have?

3,000,000 has 98 positive integral factors.


How many positive factors square numbers have?

Any positive odd number.For example for p = 17 positive factors, consider n^(p-1) for any integer n.Since p is odd, p-1 is even and so n^(p-1) is a perfect square number.


What are the positive factors for 41?

41 is a prime number. So the positive factors are 1 & 41