Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Try our no ads browsing

Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Wiki Math
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Stories for Young
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Privacy Policy

Guest book
News sites

Recommend this site

Games to relax

Tutor Match Tutoring and Homework Help

Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Buying a book is a commitment to learning Table of content Try our no ads browsing Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

A Formula for Primes

Consider a polynomial F(x) = x2 + x + 41. Let's check its values for a few first integers: F(1) = 43 which is prime. F(2) = 47 which is also prime. Furthermore, F(3) = 53, F(4) = 61, F(5) = 71, F(6) = 83, F(7) = 97, F(8) = 113, F(9) = 131, all of which are prime. Is it right to conclude that F(x) is a prime for all integer x?

Let's check a couple more values: F(10) = 151 is a prime; F(11) = 173 and F(12) = 197 are both prime. However, it's wrong to conclude that F(x) is prime for all integer x. In fact, F(40) = 40*40 + 40 + 41 = 40*(40 + 1) + 41 = 412. Still, it's interesting that F(x) is prime for all integers from 1 through 39.

G(x) = x2 - x + 41 is prime for x from 1 through 40, and H(x) = x2 - 79x + 1601 is prime for x from 1 through 80. H(81) = 41*43. 80 is a long run of primes indeed.

R.K.Guy gives more examples where patterns seem to appear when looking at several small values of a variable. In some cases patterns are indeed real and valid for other values of the variable; in most cases, as above, they are figments. Guy formulates the Strong Law of Small Numbers:

There aren't enough small numbers to meet the many demands made on them.

These examples may serve as an introduction into the method of Mathematical Induction which consists of two steps. The first is verifying a fact for one value of a variable, say, n. The second is assuming the fact true for an arbitrary value n = k and, on this foundation, proving it for n = k+1. The second step is quite necessary. As examples above demonstrate, verifying a fact for even a large number of particular cases, does not in itself prove the fact in the general case.

There is another interesting example:

3! - 2! + 1! = 5
4! - 3! + 2! - 1! = 19
5! - 4! + 3! - 2! + 1! = 101
6! - 5! + 4! - 3! + 2! - 1! = 619
7! - 6! + 5! - 4! + 3! - 2! + 1! = 4421
8! - 7! + 6! - 5! + 4! - 3! + 2! - 1! = 35,899

Of which all are prime. However, the very next one

9! - 8! + 7! - 6! + 5! - 4! + 3! - 2! + 1! = 326,981

is composite since 326,981 = 79*4139.

References

  1. R.K.Guy, A Strong Law of Small Numbers, in The Lighter Side of Mathematics, R.K.Guy and R.E.Woodrow, eds, MAA, 1994
  2. Oystein Ore, Number Theory and Its History, Dover Publications, 1976
  3. J.A.Paulos, Beyond Numeracy, Vintage Books, 1992
  4. D.Wells, You are a Mathematician, John Wiley & Sons, 1995

Copyright © 1996-2009 Alexander Bogomolny

31173681Page copy protected against web site content infringement by Copyscape


Search:
Keywords:



Latest on CTK Exchange
Is this a mathematical theorem ?
Posted by albert1950
4 messages
07:08 PM, Dec-24-08

Help me find Hisashi ABE, Pythago ...
Posted by likesmath
2 messages
11:11 AM, Oct-06-08

permutations....help please
Posted by SammiTE
3 messages
05:35 PM, Dec-14-08

Gardner's Torus cutting puzzle... ...
Posted by itineracy
4 messages
10:10 AM, Jan-02-09

Three Concurrent Circles
Posted by billmillar
2 messages
12:26 PM, Oct-28-08

Vertex Next Side Midpoint Quadril ...
Posted by Bui Quang Tuan
7 messages
11:58 AM, Jan-01-09

Error in Fractal Curves and Dimen ...
Posted by miguemate22
1 messages
08:51 AM, Nov-16-08