find the next terms of the given sequences​