341 is the smallest composite number that gives a false positive for this Quick Prime Number Test

  • 341 is a composite number.
  • Prime factorization: 341 = 11 x 31
  • The exponents in the prime factorization are 1 and 1. Adding one to each and multiplying we get (1 + 1)(1 + 1) = 2 x 2 = 4. Therefore 341 has exactly 4 factors.
  • Factors of 341: 1, 11, 31, 341
  • Factor pairs: 341 = 1 x 341 or 11 x 31
  • 341 has no square factors that allow its square root to be simplified. √341 ≈ 18.466

341 is a composite number that sometimes acts like a prime number. To understand why, we need to understand a little bit about modular arithmetic:

When one number is divided by another, sometimes there is a remainder. Modular arithmetic is all about the remainders. We don’t care how many times one number divides into another number; we only care about the remainder.

Something very curious happens when the equation in the chart below is applied to a prime number greater than 2: The remainder is always 2. It really is! For example, 2^5 = 32 and 32 divided by 5 is 6R2. We say that 32 (mod 5) = 2 or 2^5 (mod 5) = 2 because 2 is the remainder. The fact that the remainder for prime numbers applied to this equation is always 2 is amazing, and can be a QUICK TEST to see if an odd number might be a PRIME NUMBER! If the remainder isn’t 2, that odd number is definitely NOT prime!

Prime Number Test

QUICK PRIME NUMBER TEST (Please, excuse my using = instead of ≡, the “equal sign” that is usually used in modular arithmetic. I think = looks less intimidating.)

Passing the remainder test is a necessary but not a sufficient indicator that a number is prime: Even though 341 is not a prime number, the quantity 2^341 divided by 341 also has a remainder of 2. Since 341 = 11 x 31, but passes the remainder test, it is known as a pseudoprime number.  341 is the smallest composite number that passes this particular test, so 341 is an amazing number!

Also in the chart above, 2 is the most common remainder, followed by 8, then 32, then 128. All of those numbers are odd powers of 2. The even powers of 2 do not appear on the chart at all! That is a very curious phenomenon as well. (However, if x is an even number, it appears that y will usually be an even power of 2.)

Earlier mathematicians have written equivalent expressions and algorithms, but I prefer using “2^x (mod x)” because it takes very few keystrokes to enter into a calculator before hitting the equal sign:

mod 341 calculator

This is only a picture of a calculator.

Look at the image below.  It demonstrates that in prime-numbered rows, the numbers in that row can be divided evenly by that prime number (not counting the 1’s at the beginning and ending of each row).

  • For a composite number, such as 15, at least one of the numbers in the row will NOT be divisible by that composite number. In row 15, 1 is the 0th term, 15 is the 1st term, 105 is the 2nd term, 455 is the 3rd term, and 1365 is the 4th term and so forth.
  • Terms that are divisible by 15 are the 1st term (15), the 2nd term (105), the 4th term (1365), the 7th term (6435), the 8th term (6435), the 11th term (1365), and the 13th term (105). All of those term numbers, 1, 2, 4, 7, 8, 11, and 13, do NOT have factors in common with the number 15.
  • The terms that are NOT divisible by 15 are the 3rd term (455), the 5th term (3003), the 6th term (5005), the 9th term (5005), the 10th term (3003), and the 12th term (455). All of those term numbers, 3, 5, 6, 9, 10, and 12, have at least one factor in common with the number 15.

If we could see the VERY large numbers for the 341st row, and if they weren’t expressed in Scientific Notation, we could note that the following terms would NOT be divisible by 341: terms numbered 11th, 22nd, 33rd, 44th, and so forth and the terms numbered 31st, 62nd, 93rd and so forth. However, if you add those terms together, that very large sum would be divisible by 341. That is so amazing, even though 341 is not prime!

This second image from Pascal’s Triangle demonstrates that the sum of the numbers in any row of Pascal’s triangle equals two raised to the second number in that row.
(There is no second number in the top row, so we could say that second number is zero, and 2º = 1.)

These two images work together so that 2^p (mod p) will always be 2 for every prime number greater than 2 because every number in the prime-numbered rows can be evenly divided by that prime number. (Except the 1 at the beginning of the row and the 1 at the end of the row; Note 1 + 1 = 2)

Now that is why this amazing test for prime numbers works as well as it does while giving just a few false positives!

337 What Will Be the Factors of 2015?

Since this is my 337th post, I’ll first give some information about the number 337, then I will predict the factors for 2015.

  • 337 is a prime number.
  • Prime factorization: 337 is prime.
  • The exponent of prime number 337 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 337 has exactly 2 factors.
  • Factors of 337: 1, 337
  • Factor pairs: 337 = 1 x 337
  • 337 has no square factors that allow its square root to be simplified. √337 ≈ 18.358

How do we know that 337 is a prime number? If 337 were not a prime number, then it would be divisible by at least one prime number less than or equal to √337 ≈ 18.358. Since 337 cannot be divided evenly by 2, 3, 5, 7, 11, 13, or 17, we know that 337 is a prime number.

Celebrate the New Year by giving this puzzle a try!

2014-52 Level 3

WHAT will be the FACTORS of the YEAR 2015?

Print the puzzles or type the factors on this excel file: 12 Factors 2014-12-29

2014-52 Level 3 Factors

On New Year’s Eve 2013 I predicted that the positive factors for 2014 would be 1, 2, 19, 38, 53, 106,1007, and 2014, and my predictions were 100% accurate!

On this last day of 2014, I boldly announce my predictions for the factors of the year 2015:

  • The positive factors for 2015 will be 1, 5, 13, 31, 65, 155, 403, and 2015
  • Some of these factors will occur in pairs: 1 and 2015, 5 and 403, 13 and 155, as well as 31 and 65.
  • Unfortunately there will be some negative factors in 2015 as well. They will be -1, -5, -13, -31, -65, -155, -403, and -2015.

Whatever life throws your way, I wish you a happy, healthy, and prosperous 2015.

317 and Candies from Mikulás

  • 317 is a prime number.
  • Prime factorization: 317 is prime.
  • The exponent of prime number 317 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 317 has exactly 2 factors.
  • Factors of 317: 1, 317
  • Factor pairs: 317 = 1 x 317
  • 317 has no square factors that allow its square root to be simplified. √317 ≈ 17.804

How do we know that 317 is a prime number? If 317 were not a prime number, then it would be divisible by at least one prime number less than or equal to √317 ≈ 17.804. Since 317 cannot be divided evenly by 2, 3, 5, 7, 11, 13, or 17, we know that 317 is a prime number.

Today is Mikulás or St. Nickolas’s name day in Hungary. Children woke up to find various candies such as the candy cane below in their shined shoes this morning.

2014-48 Level 6

Print the puzzles or type the factors on this excel file: 12 Factors 2014-12-01

2014-48 Level 6 Logic

My grandson left this note for Mikulás last night.

Köszönöm Mikulás” means “Thank you, St. Nickolas.” My grandson was thrilled with the candies and amused by the virgács that he found in his shoes this Mikulás morning.

313 and Memorizing One Seventh

  • 313 is a prime number.
  • Prime factorization: 313 is prime.
  • The exponent of prime number 313 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 313 has exactly 2 factors.
  • Factors of 313: 1, 313
  • Factor pairs: 313 = 1 x 313
  • 313 has no square factors that allow its square root to be simplified. √313 ≈ 17.692

How do we know that 313 is a prime number? If 313 were not a prime number, then it would be divisible by at least one prime number less than or equal to √313 ≈ 17.692. Since 313 cannot be divided evenly by 2, 3, 5, 7, 11, 13, or 17, we know that 313 is a prime number.

Question: Liam set a goal to read all of the Harry Potter books. What percentage of the books had he read once he finished the first book? Answer: 1/7 ≈ 14.2857%, which looks like a much more complicated percentage than it really is. 1/7 is a repeating decimal that isn’t too difficult to remember. Here’s how I remember it:

one seventh

A famous approximation for pi is 22/7 = 3 1/7. If you have 1/7 memorized then you can also easily remember that pi is approximately equal to 3.142857. (It’s true that 355/113 ≈ 3.141592 is a better approximation since it’s accurate to six decimal places while 22/7 is accurate to only two. You can remember 355/113 by thinking 113355 and putting the first three digits in the denominator and the last three digits in the numerator.)

Here’s some other questions to consider: What percentage of the names of the seven dwarfs can you remember? What decimal amount of the seven wonders of the world can you name? What percentage of days last week did you exercise? How many of the seven deadly sins….

The decimals for 2/7, 3/7, 4/7, 5/7, and 6/7 are also easy and use the same very cool pattern, 142857, but each fraction starts with a different digit. Here’s how to remember each of those decimals, too:

remembering the sevenths

Go ahead and make somebody think you’re a human calculator today!

 

311 and Level 2

  • 311 is a prime number.
  • Prime factorization: 311 is prime.
  • The exponent of prime number 311 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 311 has exactly 2 factors.
  • Factors of 311: 1, 311
  • Factor pairs: 311 = 1 x 311
  • 311 has no square factors that allow its square root to be simplified. √311 ≈ 17.635

How do we know that 311 is a prime number? If 311 were not a prime number, then it would be divisible by at least one prime number less than or equal to √311 ≈ 17.635. Since 311 cannot be divided evenly by 2, 3, 5, 7, 11, 13, or 17, we know that 311 is a prime number.

Here’s a little piece of red and white candy for your enjoyment:

2014-48 Level 2

Print the puzzles or type the factors on this excel file: 12 Factors 2014-12-01

2014-48 Level 2 Factors

307 and Level 5

  • 307 is a prime number.
  • Prime factorization: 307 is prime.
  • The exponent of prime number 307 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 307 has exactly 2 factors.
  • Factors of 307: 1, 307
  • Factor pairs: 307 = 1 x 307
  • 307 has no square factors that allow its square root to be simplified. √307 ≈ 17.521

How do we know that 307 is a prime number? If 307 were not a prime number, then it would be divisible by at least one prime number less than or equal to √307 ≈ 17.521. Since 307 cannot be divided evenly by 2, 3, 5, 7, 11, 13, or 17, we know that 307 is a prime number.

Eleven clues that might stump you:

2014-47 Level 5

Print the puzzles or type the factors on this excel file: 10 Factors 2014-11-24

2014-47 Level 5 Logic

293 and Level 4

  • 293 is a prime number.
  • Prime factorization: 293 is prime.
  • The exponent of prime number 293 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 293 has exactly 2 factors.
  • Factors of 293: 1, 293
  • Factor pairs: 293 = 1 x 293
  • 293 has no square factors that allow its square root to be simplified. √293 ≈ 17.117

How do we know that 293 is a prime number? If 293 were not a prime number, then it would be divisible by at least one prime number less than or equal to √293 ≈ 17.117. Since 293 cannot be divided evenly by 2, 3, 5, 7, 11, 13, or 17, we know that 293 is a prime number.

—————

I will be having major surgery tomorrow so I’ll publish the rest of this week’s puzzles early. I suspect that next week’s puzzles might be published late.

Today’s puzzle has another ten clues, but this puzzle is just a little more challenging that the last one.

2014-45 Level 4

Print the puzzles or type the factors on this excel file: 10 Factors 2014-11-10

Here are a few more number facts about the number 293:

17² + 2² = 293

Thus, 293 is the hypotenuse of a primitive Pythagorean triple:

  • 68-285-293 calculated from 2(17)(2), 17² – 2², 17² + 2².

293 is the short leg of this primitive Pythagorean triple:

  • 293-42924-42925

293 can also be written as the sum of three squares four different ways:

  • 16² + 6² + 1² = 293
  • 15² + 8² + 2² = 293
  • 14² + 9² + 4² = 293
  • 12² + 10² + 7² = 293

2014-45 Level 4 Logic

283 and Level 6

  • 283 is a prime number.
  • Prime factorization: 283 is prime.
  • The exponent of prime number 283 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 283 has exactly 2 factors.
  • Factors of 283: 1, 283
  • Factor pairs: 283 = 1 x 283
  • 283 has no square factors that allow its square root to be simplified. √283 ≈ 16.823

How do we know that 283 is a prime number? If 283 were not a prime number, then it would be divisible by at least one prime number less than or equal to √283 ≈ 16.823. Since 283 cannot be divided evenly by 2, 3, 5, 7, 11, or 13, we know that 283 is a prime number.

2014-43 Level 6

Print the puzzles or type the factors on this excel file: 10 Factors 2014-10-27

2014-43 Level 6 Logic

281 and More Consecutive Square Roots

  • 281 is a prime number.
  • Prime factorization: 281 is prime.
  • The exponent of prime number 281 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 281 has exactly 2 factors.
  • Factors of 281: 1, 281
  • Factor pairs: 281 = 1 x 281
  • 281 has no square factors that allow its square root to be simplified. √281 ≈ 16.763

How do we know that 281 is a prime number? If 281 were not a prime number, then it would be divisible by at least one prime number less than or equal to √281 ≈ 16.763. Since 281 cannot be divided evenly by 2, 3, 5, 7, 11, or 13, we know that 281 is a prime number.

So far I have posted about one set of four and two sets of five consecutive reducible square roots. Sets of three consecutive reducible square roots are fairly common so I’ve ignored most of them. These consecutive square roots couldn’t be ignored:

square roots 2523-2529

The final square root features today’s prime number 281. Here are the prime factorizations and number of factors of each of these numbers:

2523-2529 prime factorizations

Six is a popular number when counting the number of factors.

277 and Level 2

  • 277 is a prime number.
  • Prime factorization: 277 is prime.
  • The exponent of prime number 277 is 1. Adding 1 to that exponent we get (1 + 1) = 2. Therefore 277 has exactly 2 factors.
  • Factors of 277: 1, 277
  • Factor pairs: 277 = 1 x 277
  • 277 has no square factors that allow its square root to be simplified. √277 ≈ 16.643

How do we know that 277 is a prime number? If 277 were not a prime number, then it would be divisible by at least one prime number less than or equal to √277 ≈ 16.643. Since 277 cannot be divided evenly by 2, 3, 5, 7, 11, or 13, we know that 277 is a prime number.

What can a level 2 puzzle do? Sometimes the “impossible” as this tweet suggests:

//platform.twitter.com/widgets.js

Go ahead, give this one a try!

2014-43 Level 2

Print the puzzles or type the factors on this excel file: 10 Factors 2014-10-27

2014-43 Level 2 Factors