Because is positive, the definition of big O notation becomes
Here and are fixed independently of .
We prove the stronger bound for every by strong induction. The initial case is . For , put . Then , so the induction hypothesis and the defining recurrence relation give
Thus
The recurrence relation must be read as applying for ; applying it at would invoke outside the printed domain. No value of is needed.
By modular arithmetic, and for some integers . Adding gives
Since is an integer, this proves
Using with integers ,
The quantity in parentheses is an integer, so the divisibility criterion for modular arithmetic gives
By Euclidean division, write and , with integers and . The hypothesis is . Apply the addition rule from part (b)(i) with to obtain
Therefore . But , and the only multiple of in that interval is zero. Hence
so the two remainders agree.
The decimal expansion is . Since , repeated use of the multiplication rule in part (b)(ii) gives for every . Repeated use of the addition rule in part (b)(i) now gives
If , the left side is congruent to zero, whence
This is the decimal digit-sum divisibility test for three, derived directly from modular arithmetic.
Set . The definition of the floor function gives . Adding the integer yields
Since is an integer, it is exactly the floor of . Thus
Put . Because , is a nonnegative integer, and
The function is strictly increasing for , so . Both powers are integers. Taking the floor function therefore gives
Taking nonnegative th roots now gives . Consequently
The argument also covers , when both outer floors are zero.

Articles by others on the same topic (0)

There are currently no matching articles.