recurrence relation codeforces code example
Example 1: recurrence relation from code
if (n == 1) return A[1] % 7
Example 2: recurrence relation from code
return (x % 11) * (y % 13)
if (n == 1) return A[1] % 7
return (x % 11) * (y % 13)