In mathematics, specifically in number theory, the extremal orders of an arithmetic function are best possible bounds of the given arithmetic function. Specifically, if f(n) is an arithmetic function and m(n) is a non-decreasing function that is ultimately positive and
we say that m is a minimal order for f. Similarly if M(n) is a non-decreasing function that is ultimately positive and
we say that M is a maximal order for f.[1]: 80 Here, lim inf n → ∞ {\displaystyle \liminf _{n\to \infty }} and lim sup n → ∞ {\displaystyle \limsup _{n\to \infty }} denote the limit inferior and limit superior, respectively.
The subject was first studied systematically by Ramanujan starting in 1915.[1]: 87