Go back
prime number link

prime number link

General

Vote Up
Vote Down

Originally posted by Nordlys
87 = 3 x 29
and thats the reason i don't do maths LOL

Vote Up
Vote Down

Originally posted by badbadger
square do you mean square root?
because 143 is a prime number (one less than 144, the square root of 12)
You mean square, not square root (144 is 12 squared, 12 is the square root of 144). And 143 is not a prime, it's 11 x 13.

Vote Up
Vote Down

Originally posted by Nordlys
1 is not a prime.
I'd like to know why, since only 1x1 is 1... Can someone sum this up for me?

P-

Vote Up
Vote Down

Originally posted by trevor33
hay nordlys, i forgot to ask - how did you know the irish words for good night?
My parents gave me an Irish text book as a birthday present (or maybe it was Christmas) many years ago, after I had lived in Northern Ireland for three months. I only did the first few chapters, and I have forgotten a lot, but at least I can still say "oíche mhaith".

Vote Up
Vote Down

Originally posted by Phlabibit
I'd like to know why, since only 1x1 is 1... Can someone sum this up for me?

P-
In short, the modern definition of a prime number is that it is a positive integer having exactly one positive divisor other than 1. 1 doesn't have a positive divisor other than 1.

This page explains why the definition was changed: http://mathworld.wolfram.com/PrimeNumber.html

1 edit
Vote Up
Vote Down

Originally posted by Nordlys
1 is not a prime.
Oops, nobody said it were either. Bowmann's fact was incorrect. Bowmann: "There is always a prime number between any given number and its double." That should be "any given natural number > 1".

Vote Up
Vote Down

What was the largest prime number known before the advent of computers? Is there some formula for testing, or do you need to do all the work to solve each number by testing all the other numbers starting with 1/2 the suspected number?

P-

1 edit
Vote Up
Vote Down

Originally posted by Phlabibit
What was the largest prime number known before the advent of computers? Is there some formula for testing, or do you need to do all the work to solve each number by testing all the other numbers starting with 1/2 the suspected number?

P-
You have to test for divisability by all primes up to the square root of the number.

You can show that this is sufficient by knowing that all non-prime numbers (barring 1) are the product of two or more primes. For example 411 can be split into 3*137.

Given the above it should become clear that if you reach the last prime number lower than the square root of the tested number and have found no prime factor then no prime factorization exists (two numbers greater than the square root cannot give the number).

Other than this no shortcut exists. This makes testing extremely large numbers for primality extremely timeconsuming.

Vote Up
Vote Down

Originally posted by badbadger
there is no prime number between 1 and 2
2 is prime.

Plonker.

Vote Up
Vote Down

Originally posted by Nordlys
Oops, nobody said it were either.


Bowmann's fact was incorrect. Bowmann: "There is always a prime number between any given number and its double." That should be "any given natural number > 1".
Thread 43795


Also, it's pretty obvious I meant any integer. And don't forget, zero is not a number.

1 edit
Vote Up
Vote Down

Originally posted by XanthosNZ
You have to test for divisability by all primes up to the square root of the number.

You can show that this is sufficient by knowing that all non-prime numbers (barring 1) are the product of two or more primes. For example 411 can be split into 3*137.

Given the above it should become clear that if you reach the last prime number lower than the square ...[text shortened]... ortcut exists. This makes testing extremely large numbers for primality extremely timeconsuming.
Correct.

I used this simple principle to write a program to find and analyze sets of primes.

(I called it Prime Finder. If anyone would like a copy, you may write to me for further information.)

Vote Up
Vote Down

Originally posted by Bowmann
2 is prime.

Plonker.
2 is not between 1 and 2.

Plonker.

Vote Up
Vote Down

Originally posted by Nordlys
2 is not between 1 and 2.
Then, since 2 is not between 2 and 3, 2 does not exist!

Vote Up
Vote Down

Originally posted by Bowmann
Then, since 2 is not between 2 and 3, 2 does not exist!
By that reasoning, no number exists. So there are no primes either. Thread closed.

Vote Up
Vote Down

Originally posted by Nordlys
By that reasoning, no number exists. So there are no primes either. Thread closed.
Dude, are we really, like, here? What if we're like, not living right now, but the life were like, living right now, is really a flashback of your real life but you've got a gun to your head?