Markov assumption

Hi,

I am still confuse about the markov assumption

For the N-gram formula, why there is still a subscript n-1 at the end?

thank you before hand.

and what is N? (not n)

N-gram is the number of words considered to be studied from the network. Like 3 gram means the consider the last 3 words and so on…