Quotient Remainder
Suppose that , but that , then there exists unique integers such that where
Let and assume . Define , we'll show that is non-empty. We can think of as taking and then either adding muliples of or subtracting them to , each time leaving some remainder, thinking ahead we can guess that the smallest value of this set should be the smallest remainder and possibly the we are looking for.
If then when we have thus , on the other hand if , then observe that since , then and also , then we have . But also we can see that so it's of the form of an element in and since it's non-negative, it must be an element of . Therefore this paragraph shows us that has at least one element, no matter the value of .
Due to this and since , then by the well ordering principle there is some smallest element , we know that this value satisfies . Now we will show that .
so therefore , if we were to assume that then . By recalling the equality that satisifies we can write , therefore but since then which is a contradiction because we assumed that was the smallest element in , thus we must have that
At this point we have where so take and . If , then and , so we obtain , if , then and so again we have . We'll finish the proof by showing that these values are unique.
Assume we have another pair satisfying with but and , therefore we have .
Without loss of generality assume , then and since then , recalling that , we can re-write our last inequality as and since we can divide by to get but since this force , which then shows by previous equalities, therefore assuming we have another solution, it turns out it must be our original one, and thus our solution is unique.
Note that the requirement that be non-zero is important, because if it were zero we'd be asking "how many times do you have to multiply and add to get " which in itself doesn't intuitively make sense, formally since we require then if no such could ever exist.
Remainder Function
Given two integers such that , then we get some with such that and we define
Quotient Function
Given two integers such that , then we get some with such that and we define
Quotient Remainder using Quotient and Remainder Function
For any such that then
Specific Value of the Divisor Function
We note that
Specific Value of the Remainder Function
We note that
Quotient Remainder on Positive Integer has Positive Divisor
Suppose that such that then
For brevity define , we know that with , thus far we know that , though if , then we know that , therefore
For a contradiction assume that , therefore , which shows that , since , then we have which is a contradiction because we know that .
Since by assuming , we have a contradiction, so therefore , which is the same as .
Divides iff Zero Remainder
For any
Note that iff iff and . The last iff comes from the fact that there are unique integers that satisfy the equation laid out by the quotient remainder theorem.
Every integer is either Odd or Even
For any
, it is
even or it is
odd
Let and then we know that , if then there is some such that , and thus odd, if , then we have some such that and is thus even
Exactly one of any two Consecutive Numbers is Even
For any exactly one of is even (and the other odd)
If is even, we are done, if is odd, then there is a such that therefore which is even as needed.
When the Remainder Function does Nothing
Suppose that and that then
Remainder of Sum Less Than First Summand When Sum Exceeds Modulus
Suppose that and such that , then
Since and we have , combined with our assumption that we obtain
and therefore
succinctly: and since we know then by quotient remainder we conclude
Another way of seeing the above is that , and this is a better form because if we knew that then we could conclude that , but we did know that therefore which yields as needed.
Repeated Application of the Remainder Function does Nothing
Suppose that such that then
Quotient Remainder and Addition
Suppose that then and
We know therefore Let , and so by the quotient remainder theorem we get some such that so that therefore and . Finally note that and as needed.
If a Number Divides a Sum and Already Divides one of the Summands it Must Divide the Other
Suppose that and then
We know that and that since therefore
Adding Multiples of the Divisor Never changes the Remainder
Let and then
n Factorial Plus or Minus One Restricts Factors
Suppose then for every
Recall that
therefore . But then
Note that in going from the second to the third line we used
this fact.
if then we have otherwise we have and since then therefore in both cases we see that therefore as needed.
Every Perfect Square has Remainder Zero or One Upon Division by Four
For any we have
We know that
is
either odd or even and therefore in the case that
then
so
, on the other hand if
then
therefore
as needed.
Note that we also see that every odd perfect square has remainder 1 mod 8 as an intermediate stage in the above proof.
Every Odd Perfect Square has Remainder 1 mod 8
As per title.
Suppose that
it's impossible for
to be even, because then
would be, since every number is either
even or odd, then
must have been even, therefore there is a
such that
therefore
. Recall that at least one of
is even , therfore
is even and therefore
is divisible by
in other words we have some
such that
as needed.
composite number
A number
is said to be composite, when it has a positive
divisor other than
and itself
multiplicative function
an
arithmetic function is said to be multiplicative when
for all coprime positive integers
Suppose that is the number of divisors of , then is a multiplicative function.
Let and assume that , we'd like to prove that
Suppose that the divisors of are and the divisors of are
Claim that the set is exactly equal to the divisors of