The floor is the greatest integer not exceeding the real number . Equivalently, exactly when , for an integer . The floor function is constant on each such half-open interval and has a discontinuity of a function at each integer.
For nonnegative integers and positive integers , is the number of complete groups of size that fit into items. With and , five complete groups use 100 items. Euclidean division writes , retaining the two-item remainder rather than treating the quotient as a number of complete groups.
For a positive integer , indices with the same quotient form intervals. If an interval begins at , it ends at . There are distinct quotients: either , or the quotient is below . This permits summing constant-quotient blocks instead of visiting every index.
The operation returning for . It rounds the exact quotient toward negative infinity; for nonnegative integers and positive , it is the quotient in Euclidean division.
An algorithm for evaluating sums that depend on . If , then all indices from through have quotient . Jumping to visits only blocks rather than all indices.
A floor sum adds values of a floor function, often in the form for integers , , , and . If , it counts lattice points with and . Splitting and into quotients and remainders isolates an arithmetic progression and a constant contribution; swapping the remaining counting axes leads to an Euclidean algorithm reduction.
For an arithmetic function , changing the order of the finite summation gives . Both sides count pairs of positive integers with , assigning weight to each pair. This expresses a weighted floor sum in terms of a summatory function.
The fractional part of a real number isIt is the amount left after removing the lower enclosing integer, even for negative inputs. Thus . It is not the signed string of digits obtained by truncation toward zero.
Translation by an integer leaves the fractional part unchanged: . It is therefore a periodic function with period one, increasing from zero toward one on each unit interval, then returning to zero at the next integer. In Euclidean division with , ; for , this is .
The notation is useful for following repeated motion modulo an integer. In normality and equidistribution under integer multiplication, the values shift the digits of a positional notation; the fractional part discards the leading integer portion without losing the remaining digits. Its braces must be distinguished by context from the braces denoting a set.
Articles by others on the same topic
There are currently no matching articles.