Can you find the last number in series?

5 8 17 47 242 ?

1967

The next number in the series is based on formula Next = (1st Number)^2 - (2nd number)

5^2 - 8 = 17
8^2 - 17 = 47
17^2 - 47 = 242
47^2 - 242 = 1967.