On Primes and Pluto
qedcat.com
qedcat.com
When I plug in:
1/(3 sqrt(7)-8)
and
-3 sqrt(7)-8
...into Excel, there must be a rounding error. They resolve to: -15.9372539331939000
and
-15.9372539331938000
...respectively.Time to plug these into Wolfram. I get:
-15.93725393319377177150484726091778127713077754924735054110500337760320646969085088328117865942363083184519373501549238...
and
-15.93725393319377177150484726091778127713077754924735054110500337760320646969085088328117865942363083184519373501549238...
...respectively.It would be nice if you could prepend them with four spaces, to place them in code blocks (they have overflow:scroll), or break them into multiple lines (or both).
sage: k.<a> = QuadraticField(7); k
Number Field in a with defining polynomial x^2 - 7
sage: x = 3*a - 8
sage: x.is_integral()
True
sage: 1/x
-3*a - 8
sage: x * (1/x)
1
sage: (1/x).is_integral()
True
(Note: the is_integral() is because we define k to be QQ(sqrt(7)), not ZZ(sqrt(7)), so we want to check that our elements are really integers, i.e., lie in ZZ(sqrt(7))).More formally: This type of interaction is true for an irrational number if (and only if?) it is the root of a polynomial with integer coefficients. If you adjoin the root of a polynomial P(n) to the integers, the properties of the resulting set of numbers (e.g. factorization being unique) can be related back to properties of P(n). The nature of the connection has to do with the connection between a set of numbers and the set of polynomials of with coefficients from that set, and equivalence relations on that set of polynomials that are induced by P(n).
6 divides 49, but does not divide either 4 or 9. Therefore, 6 is not prime.
But I'm pretty sure 1 cannot divide the product of two integers m, n* while failing to divide m and n individually. So while that general definition does exclude composite numbers, it doesn't seem to exclude 1?
It should be noted that this definition excludes "composite numbers" only when the ring is an integral domain. In a general commutative ring this isn't necessarily true.
[1] https://cs.uwaterloo.ca/journals/JIS/VOL15/Caldwell1/cald5.p...
Here are two simple javascript functions:
function f(n,k){ var t = 0; for( var j = 2; j <= n; j++ )t += 1/k - f(n/j, k+1); return t;} function p(n){ return f(n,1)-f(n-1,1); }
If you call p(n) when n is prime, it will return 1. If you call p(n) when n is a prime power (so, say, 4 or 9 or 16), it will return 1/power (so p(4) is .5, p(8) is .3333..., etc). If you call p(n) with a number with multiple prime bases (so 6 or 14 or 30 or...), it will return 0.
And if you call p(1), it will return 0, NOT 1.
In fact, f(n,1) here is a compact (and slow) way of computing the Riemann Prime Counting function: http://mathworld.wolfram.com/RiemannPrimeCountingFunction.ht...
Another way to compute this exact same function (given as (8) on that link) uses the famous Riemann Zeta function zeroes, although that is much harder to follow.
Now, the behavior of the Riemann Prime Counting function doesn't PROVE that 1 isn't a prime, which, as noted, is a question about definition. But what it does do is show that, in an extremely important context, a context that seems to be, mathematically, solely about identifying primes, 1 isn't behaving like the primes at all.
The definition of primes that excludes units makes sense in more places than one that includes units (especially once you start talking about prime ideals instead of prime numbers)
Prime is a word not a fact of the universe, just like Planet is a word and not a fact of the universe. Those words, unlike most words, have definitions put in place by authorities. The authorities might change the definitions over time as a new definition's usefulness exceeds that of an old definition.
Practically:
It's more useful to think of primes and planets as not including their recent ex-members than it is to include them.
Actually read the article to find the answer!
proof: http://en.wikipedia.org/wiki/Fundamental_theorem_of_arithmet...
edited
What if we permitted 1 to be prime? In that case, 84 would also have the "prime" factorisation 1 x 1 x 1 x 2 x 2 x 3 x 7. That is, 84 could still be factorised, but it would no longer have a unique prime factorisation.
No, a prime number, for example 5, is not the product of 1 and itself (at least, no more than it's the product of 1/3 and 15). It is the product of itself only, so it can be represented as a set of factors like {5}. 1 is the product of nothing, and would be represented as the set of factors {}.
Multiplication, obviously, just combines the factors of the multiplicands. 6 (= {2,3}) times 2 (= {2}) equals {2,2,3}, 12. Hopefully that makes it clear why 1 should be {}.
Your parent comment is correct (or so close that I think correcting them is a bigger mistake); that is the reason 1 is not prime. We don't consider 1 "not prime" as an accident of history, we have the knowledge now to make an informed decision. The "historical reason" has fallen by the wayside.
This is related, by the way, to the question of 0! (zero factorial). By definition, it's 1. The most obvious reason for that is that it fills a bunch of different holes in various formulae that use factorials (Taylor series, virtually any combinatoric formula...). But that's an extremely instrumentalist approach. Is there any reason why we might predict that 0! = 1 without knowing in advance from combinatorics that we'd really like it to be the case?
Sure. What happens if we multiply together the first zero positive integers? Obviously, we get the empty product: 1. Hence the definitions I learned, where a prime number has exactly one factor (not two), and 1 has zero, not enough to be prime.
The OP pretty much dismisses the article and cites the one thing that is well-known, less interesting, and not the focus of the article. The article is way more interesting and lists a variety or reasons (the one the OP quotes, historical reasons, wrong reasons, and even one final twist).
The OP's comment looks like a case of "did not RTFA". Color me unimpressed.
That property is a result of the natural numbers, and a definition of primality that excludes 1. It is not true in general, in under a definition of primality that includes 1.
The definition is made for convenience sake based on what it implies. One being prime implies that other primes are evenly divisible by another prime but for some reason that doesn't stop them from being prime. So 1's primeness would have to be special relative to the primality of the other numbers.
Starting the primes at 2 makes all the definitions and implications simple, except for the one caveat that primes start at 2.
Either way you'll have to make a concession, we choose the one that only has to make it once.
The other way around you end up with things like: The square of a natural number is not prime (except 1). The product of two primes is not prime (unless one of them is 1). and so on...