How do you find the formula for nitric acid?

You memorize it. HNO3