Open QA 23

#$&*

course Mth151

5/12 around 8:45

If your solution to stated problem does not match the given solution, you should self-critique per instructions at

http://vhcc2.vhcc.edu/dsmith/geninfo/labrynth_created_fall_05/levl1_22/levl2_81/file3_259.htm

.

Your solution, attempt at solution. If you are unable to attempt a solution, give a phrase-by-phrase interpretation of the problem along with a statement of what you do or do not understand about it. This response should be given, based on the work you did in completing the assignment, before you look at the given solution.

023. Number theory

*********************************************

Question: `q001. There are 13 questions in this assignment.

The number 12 is evenly divisible by 1, 2, 3, 4, 6, and 12. We therefore say that 1, 2, 3, 4, 6 and 12 are the divisors of 12.

Each of these divisors can be multiplied by another to get 12. e.g., 2 * 6 = 12, 1 * 12 = 12, 3 * 4 = 12.

List the numbers from 2 to 20 and list all the divisors of each.

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: The divisors of 2 are 1 and 2.

The divisors of 3 are 1 and 3.

The divisors of 4 are 1, 2 and 4.

The divisors of 5 are 1 and 5.

The divisors of 6 are 1, 2, 3 and 6.

The divisors of 7 are 1 and 7.

The divisors of 8 are 1, 2, 4, hence 8.

The divisors of 9 are 1, 3 and 9.

The divisors of 10 are 1, 2, 5 and 10.

The divisors of 11 are 1 and 11.

The divisors of 12 are 1, 2, 3, 4, 6, 12.

The divisors of 13 are 1 and 13.

The divisors of 14 are 1, 2, 7 and 14.

The divisors of 15 are 1, 3, 5 and 15.

The divisors of 16 are 1, 2, 4, 8 and 16.

The divisors of 17 are 1 and 17.

The divisors of 18 are 1, 2, 3, 6, 9 and 18.

The divisors of 19 are 1 and 19.

The divisors of 20 are 1, 2, 4, 5, 10 and 20.

confidence rating #$&*:3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution:

The divisors of 2 are 1 and 2.

The divisors of 3 are 1 and 3.

The divisors of 4 are 1, 2 and 4.

The divisors of 5 are 1 and 5.

The divisors of 6 are 1, 2, 3 and 6.

The divisors of 7 are 1 and 7.

The divisors of 8 are 1, 2, 4, hence 8.

The divisors of 9 are 1, 3 and 9.

The divisors of 10 are 1, 2, 5 and 10.

The divisors of 11 are 1 and 11.

The divisors of 12 are 1, 2, 3, 4, 6, 12.

The divisors of 13 are 1 and 13.

The divisors of 14 are 1, 2, 7 and 14.

The divisors of 15 are 1, 3, 5 and 15.

The divisors of 16 are 1, 2, 4, 8 and 16.

The divisors of 17 are 1 and 17.

The divisors of 18 are 1, 2, 3, 6, 9 and 18.

The divisors of 19 are 1 and 19.

The divisors of 20 are 1, 2, 4, 5, 10 and 20.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):n/a

------------------------------------------------

Self-critique Rating:3

*********************************************

Question: `q002. Some of the numbers you listed have exactly two divisors. Which are these?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: 3, 5, 7, 11, 13, 17, and 19 all have two divisors

confidence rating #$&*:3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution:

The numbers with exactly two divisors are

• 2, with divisors 1 and 2

• 3, with divisors 1 and 3

• 5, with divisors 1 and 5

• 7, with divisors 1 and 7

• 11, with divisors 1 and 11

• 13, with divisors 1 and 13

• 17, with divisors 1 and 17

• 19, with divisors 1 and 19

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):n/a

------------------------------------------------

Self-critique Rating:3

*********************************************

Question: `q003. These numbers with exactly two divisors are called prime numbers. List the prime numbers between 21 and 40.

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: The prime numbers are 23, 29, 31, and 37. They are only divisible with one and themselves.

confidence rating #$&*:3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution:

Every counting number except 1 has at least 2 divisors, since every counting number is divisible by itself and by 1. Therefore if a counting number is divisible by any number other than itself and 1 it has more than 2 divisors and is therefore prime.

• Since 21 is divisible by 3, it has more than 2 divisors and is not prime.

• Since 22 is divisible by 2, it has more than 2 divisors and is not prime. Since this will be the case for all even numbers, we will not consider any more even numbers as candidates for prime numbers.

• Since 23 is not divisible by any number except itself and 1, it has exactly 2 divisors and is prime.

• Since 25 is divisible by 5, it has more than 2 divisors and is not prime.

• Since 27 is divisible by 3, it has more than 2 divisors and is not prime.

• Since 29 is not divisible by any number except itself and 1, it has exactly 2 divisors and is prime.

• Since 31 is not divisible by any number except itself and 1, it has exactly 2 divisors and is prime.

• Since 33 is divisible by 3, it has more than 2 divisors and is not prime.

• Since 35 is divisible by 5, it has more than 2 divisors and is not prime.

• Since 37 is not divisible by any number except itself and 1, it has exactly 2 divisors and is prime.

• Since 39 is divisible by 3, it has more than 2 divisors and is not prime.

The primes between 21 and 40 are therefore 23, 29, 31 and 37.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):n/a

------------------------------------------------

Self-critique Rating:3

*********************************************

Question: `q004. The primes through 40 are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31 and 37.

Twin primes are consecutive odd numbers which are both prime.

Are there any twin primes in the set of primes through 40?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: Twin primes are prime numbers that are two numbers apart. 5,7 11,13 17,19 29,31 are all twin primes.

confidence rating #$&*:3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution:

17 and 19 are consecutive odd numbers, and both are prime. The same is true of 5 and 7, and of 11 and 13.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):n/a

------------------------------------------------

Self-critique Rating:3

*********************************************

Question: `q006. We can prove that 89 is prime as follows:

• 89 is odd and is hence not divisible by 2.

• If we divide 89 by 3 we get a remainder of 2 so 89 is not divisible by 3.

• Since 89 is not divisible by 2 it cannot be divisible by 4 (if we could divide it evenly by 4 then, since 2 goes into 4 we could divide evenly by 2; but as we just saw we can't do that).

• Since 89 doesn't end in 0 or 5 it isn't divisible by 5.

• If we divide 89 by 7 we get a remainder of 5 so 89 is divisible by 7.

• Since 89 isn't divisible by 2 it isn't divisible by 8, and since it isn't this will by 3 it isn't divisible by 9.

At this point it might seem like we have a long way to go--lots more numbers to before get to 89. However it's not as bad as it might seem.

For example once we get past 44 we're more than halfway to 89 so the result of any division would be less than 2, so there's no way it could be a whole number. So nothing greater than 44 is a candidate, and we won't have to test any number greater than 44.

We can in fact to even better than that. If we went even as far as dividing by 10, it's easy to see that the quotient would be less than 10:

• since 10 * 10 is greater than 89, it follows that 89 / 10 must be less than 10.

So if 10 or anything greater than 10 was going to divide 89, in the result would be one of the numbers we have already tried. Since we were unsuccessful in our previous attempts, there is no reason to test any number which is 10 or greater.

It follows that after trying without success to divide 89 by all the numbers through 9. (And we didn't really have to try 9 anyway because 9 is divisible by 3 which we already checked, so we are now sure that 89 is indeedprime).

What is the largest number you would have to divide by to see whether 119 is prime?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: After trying to find the largest number I believe it would be 7.

confidence rating #$&*:2

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution:

After we get to 7, we don't have to try 8, 9 or 10 because we've already checked numbers that divide those numbers (that is, we checked 2 and it didn't work so neither 8 nor 10 could possibly work, and 3 didn't work either so we know 9 won't).

The next number we might consider trying is 11. However 11 * 11 = 121, which is greater than 119. So any quotient we get by dividing by 11, or by any number greater than 11, would be less than 11. Since we havealready have eliminated the possibility that any number less than 11 is a divisor, division by 11 or any greater number is unnecessary.

So 7 is the largest number we would have to try.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):n/a

------------------------------------------------

Self-critique Rating:3

*********************************************

Question: `q007. Precisely what numbers would we have to try in order to determine whether 119 is prime?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: The numbers we would have to check would be 2,3, 5, and 7

confidence rating #$&*:3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution:

We would have to check whether 119 was divisible by 2, by 3, by 5 and by 7.

We wouldn't have to check 4 or 6 because both are divisible by 2, which we would have already checked.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):n/a

"

Self-critique (if necessary):

------------------------------------------------

Self-critique rating:

*********************************************

Question: `q007. Precisely what numbers would we have to try in order to determine whether 119 is prime?

YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY

Your solution: The numbers we would have to check would be 2,3, 5, and 7

confidence rating #$&*:3

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.............................................

Given Solution:

We would have to check whether 119 was divisible by 2, by 3, by 5 and by 7.

We wouldn't have to check 4 or 6 because both are divisible by 2, which we would have already checked.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

Self-critique (if necessary):n/a

"

Self-critique (if necessary):

------------------------------------------------

Self-critique rating:

#*&!

&#This looks good. Let me know if you have any questions. &#