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. 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))).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).
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.
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).