The nth term of a sequence is 3n squared -1. The nth term of a different sequence is 30 - n squared. Find the only number that is in both of these sequences