The Latin letter n is commonly used in math as a variable.
The capital Latin letter N is used in mathematics to represent the set of natural numbers. Usually, the letter is presented with a "double-struck" typeface to indicate that it is the set of natural numbers. Otherwise, N is also used as a variable.
A variable is a core concept in algebra where a symbol, usualy a lower case latin letter, is used as a placeholder in a math expression.