Recurrence relation test