# Level 34

by Joel IThe numbers below are determined by the following function:

function Y(int x, int k1, int k2): return pow(x + 2, k1) mod (k1-2)*(k2-2)

Sequences A, B, C, and D each use different values for K_{1} and K_{2}, all random integers between 1000 and 1200. The first three values are given. (Y(1), Y(2), Y(3))

The solution to this level is the sum of the next numbers in the seqeunce for A, B, C, and D.

1140363,813244,1023185 | |

173402,822574,638905 | |

1163881,584768,127833 | |

1549,141636,1042045 |

You have 60 seconds to solve this level