Advanced search

Answers


Why is it only prime numbers?

For my A-Levels I have been studying Pascals triangle, and I found that if you select any of the numbers from each prime number row, and divide this by the row number it is ALWAYS an integer. My maths teacher and I are stumped, any help would be appreciated.

sssss
 (no votes)

submit an answer
  • Member status
  • none

Last edited on: 2011-02-10 16:58:16

Categories: Our universe.

Tags: maths, PrimeNumbers.

 

Report abuse


16 answer(s)

<< First   < Prev   [1]   [2]   Next >   Last >>  


Reply

Jon-Richfield says:

 

You have misstated the condition. The remainder is always 2. What you mean is that if you remove the 1s at the ends of the row, the remainder is zero.

Right?

OK. Now, that is a consequence of Fermat's ("little") theorem, namely that if a is an integer (for our purposes greater than 1), and p is a prime, then

a^p mod p = a.

OK so far?

You will already know that  the nth row of the triangle adds up to 2^n. OK?

Then the pth row sum mod p (p prime, remember?) will be 2 because

2^p mod p = 2.

But you have removed 2 from 2^p, leaving a mod of zero.

Which was the fact to explain. Right?

You will find Fermat's theorem discussed and proved and heavily used in any book of number theory.

sssss
 (1 vote) average rating:5

Tags: maths, PrimeNumbers.

top

posted on 2011-02-10 17:38:13 | Report abuse


Reply

Jon-Richfield says:

It occurs to me that I was a bit abrupt in my response, but maths is largely abrupt isn't it? In some ways that is part of its charm. However, you might wonder why a non-mathematician should know that theorem at all.

The fact is that I have a sentimental attachment to that theorem because I discovered the theorem (a few centuries late perhaps, but I did!)

I was sitting on a commuter train, working on  problem concerning a game we had bought, and one of my results was... THAT!

The rest I have forgotten years ago, but I never have forgotten my reaction: I was irritated! a^p mod p = a if p is prime?

Rubbish! What a stupid idea! I had made some idiotic error!

So I went over it again a couple of times in different ways and... no error!

It took me some time to generate a mechanical model that visibly proved it to me.

(Incidentally, you might find it interesting to do some looking up on pseudo-primes...)

I was thrilled and went around the office bragging about this discovery, till a mathematician in the OR department gently told me about the theorem being known (albeit important in number theory.)

That hardly dashed me; my demonstration was my own and I knew no number theory to speak of anyway. And I was (and still am) intrigued at my original contemptuous reaction to my own discovery -- that it was nonsense, and that I only believed my own result when I had forced myself to.

Great fun,  really!

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-10 18:03:16 | Report abuse

Reply

sid910 says:

hey john where can fint the row. and answer the question about seeing different lights coming from an onject. even my teacher couldnot answer that.

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-13 08:40:59 | Report abuse

Reply

Jon-Richfield says:

Sid, I am not sure I follow. did you mean the discussion at this URL?

http://www.last-word.com/content_handling/show_tree/tree_id/4150.html

It dealt with light from candles, and whether light comes from your eyes etc.

If you had something else in mind, please give me a clearer idea of what you were thinking of.

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-13 11:45:42 | Report abuse


Reply

petethebloke says:

>You have misstated the condition.<

That's not quite right Jon. Ed's description is precisely what I see. If you number the top of the triangle Row Zero (which is conventional) then all the numbers in row P, where P is prime, are exactly divisible by P except for the 1s at the end.

Everything else you say is right, of course.

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-10 19:23:18 | Report abuse

Reply

Jon-Richfield says:

Pete:

0                      1                      =     1

1                    1   1                   =     2

2                  1   2   1                =     4

3                1   3   3   1             =     8     (= 2 mod 3 right?)

4              1   4   6   4   1          =   16 

5            1  5  10 10   5   1        =   32     (= 2 mod 5 right?)

 

Still looks to me like we need to remove the ones at each end.

Even the 2 row gives 2 mod 2 as a special case, that would not have been significant on its own, but is consistent with the scheme, and is unique.

From your point of view, what am I misunderstanding?

Cheers,

Jon

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-10 19:33:18 | Report abuse

Reply

petethebloke says:

Jon

Everything you say is right, and I learnt from you (again).

But, you told Ed that he mis-stated the case and I pointed out that he didn't mis-state anything. You mentioned summing the rows, he did not.

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-10 20:04:13 | Report abuse

Reply

petethebloke says:

PS I'm very impressed with your triangle layout.

Next you'll figure out a way of putting mathematical notation up here. That would be a boon.

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-10 20:05:55 | Report abuse


Reply

Ed_Harman says:

I've had it taught differently that the top row (1) is row 1. Row 2 being (1, 1). and the rule being 2^n-1. What I've found is that all the numbers in the row are multiples of the row number

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-10 21:54:17 | Report abuse

Reply

Jon-Richfield says:

To regard the top row as row 0 might be a bit of a computer man's trick, though as I see it, it is mathematically attractive as well.

You will note that what I marked as row 1 adds up to 2 to the power 1, row 2 adds up to 2 to the power 2, and so on.

And would you believe? Row 0 adds up to 1, which is 2 to the power 0.

I don't care what they taught you, but I like it this way!

:-)

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-15 08:34:45 | Report abuse


Reply

Jon-Richfield says:

Sorry, I misunderstood the question until Pete rattled me into reading it more carefully! There may be a connection with Fermat (the resemblance is suspicious!)

Bit of a hurry now. Back later.

Maybe!  ;-)

 

sssss
 (no votes)

Tags: maths, PrimeNumbers.

top

posted on 2011-02-11 08:04:04 | Report abuse


<< First   < Prev   [1]   [2]   Next >   Last >>  

The last word is ...

the place where you ask questions about everyday science

Answer questions, vote for best answers, send your videos and audio questions, save favourite questions and answers, share with friends...

register now


ADVERTISMENT