Power Trap

A sequence of pairs of integers ( x 0 , y 0 ) , ( x 1 , y 1 ) , ( x 2 , y 2 ) , . . . (x_0,y_0),\ (x_1,y_1),\ (x_2,y_2),... is defined, starting from some initial pair ( x 0 , y 0 ) , (x_0,y_0), by the following formulas: { x k + 1 = x k 4 y k x k 3 y k 2 y k + 1 = x k 2 y k 3 x k y k 4 \begin{cases} x_{k+1}=x_k^4y_k-x_k^3y_k^2\\ y_{k+1}=x_k^2y_k^3-x_ky_k^4 \end{cases} Find the number of primes p < 1000 p<1000 such that x 10 x_{10} is a multiple of p p for all initial pairs ( x 0 , y 0 ) (x_0,y_0) .


The answer is 5.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Calvin Lin Staff
May 13, 2014

The recursive formulas, defining the pairs, make sense modulo every prime p p . Note that if x i x_i is not zero modulo p p , and x i x_i is not congruent to y i y_i modulo p p , then y i + 1 x i + 1 = ( y i x i ) 2 \frac{y_{i+1}}{x_{i+1}}=\left( \frac{y_i}{x_i}\right) ^2 If x i y i ( m o d p ) x_i\equiv y_i \pmod p then x i + 1 y i + 1 0 ( m o d p ) x_{i+1}\equiv y_{i+1}\equiv 0 \pmod p and all further numbers are zero modulo p p .

Recall that the multiplicative group of residues modulo any prime p p is cyclic of order p 1 p-1 . If p 1 = 2 k p-1=2^k for some k k , then after no more than k k iterations, starting from any x 0 x_0 and y 0 y_0 not divisible by p p , we get y i x i 1 ( m o d p ) , \frac{y_i}{x_i}\equiv 1 \pmod p, so x i + 1 y i + 1 0 ( m o d p ) x_{i+1}\equiv y_{i+1}\equiv 0\pmod p and all subsequent x n x_n and y n y_n are zero modulo p p . On the other hand, if p 1 p-1 is not a power of 2 2 , then one can find y 0 x 0 \frac{y_0}{x_0} so that its order in the multiplicative group modulo p p is not a power of 2 2 , and then x n x_n and y n y_n will never be zero modulo p p .

There are 5 5 primes less than 1000 1000 of the form p = 2 k + 1 : p=2^k+1: 2 , 3 , 5 , 17 , 257. 2,3,5,17,257. For each of them k 8 , k\leq 8, so x 10 x_{10} will be divisible by p p for any x 0 x_0 and y 0 y_0 . Thus, the answer is 5 5 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...