Answer of hard pattern

the patern is:there is one one.in the second it is saying there is one one.In the tird one it is saying there is two ones.in the fourt one it is saying there is one two and one one.so the text number is 13112221.