This site is supported by donations to The OEIS Foundation.

# Floor

Floor is a function that gives the largest integer below a given real number $x\,$ , i.e. rounding towards minus infinity. It is generally notated $\lfloor x\rfloor \,$ , or in computer programming languages, ​floor(x)​. For example, $\lfloor {\sqrt {50}}\rfloor \,=\,7\,$ . For $x\,\geq \,0\,$ , then $\lfloor x\rfloor \,$ is the same as the integer part (or truncation, i.e. rounding towards zero) $[x]\,$ of $x\,$ ; but if $x\,<\,0\,$ , then $\lfloor x\rfloor \,$ is one less than the integer part (which is now the same as the ceiling $\lceil x\rceil \,$ ). For example, $\lfloor (\pi i)^{2}\rfloor \,=\,-10\,$ , not –9 (the latter number is the integer part of $(\pi i)^{2}\,$ ).
In the OEIS, some sequences of nonintegers are entered by flooring the terms. For example, A013629 gives the floor of the imaginary parts of the nontrivial zeros of the Riemann zeta function (these are given in order of magnitude if the Riemann hypothesis is true). The first zero is ${\frac {1}{2}}+14.134725\ldots i\,$ , and thus the first term of that sequence is 14.