$$math formula$$

The equation environment centres your equation on the page and places the equation number in the right margin.