Fourth Term of a Quadratic Recurrence

Company: Ion Group - Hackerrank_17thjuly

Difficulty: easy