In mathematics , a rational number is a number that can be written as a fraction . In mathematics , a rational number is any number that can be expressed as the quotient or fraction a\/b of two integers , with the denominator b not equal to zero . Since b may be equal to 1 , every integer is a rational number .