The function has to equal to all the numbers in the seguence