Consider the following function f : { 0 , … , 5 2 } → { 0 , … , 5 2 }
f ( x ) = x 2 + 2 x + 3 (mod 53)
How many integers 0 ≤ x ≤ 5 2 exist such that f n ( x ) ≡ 1 8 (mod 53) , for some positive integer n ?
Note that f 1 ( x ) = f ( x ) , f 2 ( x ) = f ( f ( x ) ) and f n ( x ) is function f ( x ) , composed by itself n times.
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.
Good on you!
Log in to reply
Is there a reason why you chose mod 53 and 18? They seem so arbitrary, but maybe it has something to do with the fact that the solutions come in pairs whose sum is always 51 ( 0 + 5 1 = 1 + 5 0 = 3 + 4 8 = 6 + 4 5 = … ).
Log in to reply
Actually, all function values come in pairs with sum 51.
a + b = 5 1 ⇒ f ( a ) = f ( b ) .
Do you know if this is always the case for quadratic functions modulo n?
Log in to reply
@Henry U – I'm thinking off the top of my head, but I think, for a quadratic ax^2+bx+c (mod p) and 0<a,b<p, numbers come in such pairs (t,k) when (p-b) is divisible by a. If a=1, then they definitely pair up.
Log in to reply
( 5 1 − n ) 2 + 2 ( 5 1 − n ) + 3 = n 2 − 1 0 4 n + 2 7 0 6
≡ ( n 2 ( m o d 5 3 ) ) + ( − 1 0 4 n ( m o d 5 3 ) ) + ( 2 7 0 6 ( m o d 5 3 ) ) ≡ n 2 + 2 n + 3 ( m o d 5 3 )
and for some prime p
( ( p − 2 ) − n ) 2 + 2 ( ( p − 2 ) − n ) + 3 = n 2 − 2 p n + 2 n + p 2 − 2 p + 3
≡ ( n 2 ( m o d p ) ) + ( − 2 p n + 2 n ( m o d p ) ) + ( p 2 − 2 p + 3 ( m o d p ) ) ≡ ( n 2 ( m o d p ) ) + ( 2 n ( m o d p ) ) + ( 3 ( m o d p ) )
So it actually works with this polynomial and any prime p .
I've written a note about that , I will write more thoughts over there.
Log in to reply
@Henry U – nice, kid! you are more active than me, when im on cocaine :D
I took a small random prime and a random quadratic poly. then I just started playing with them. I did not know where it was going. You know, I had Friday night sadness... :D the reason for 18 is that it was part of a dynamical loop in the given dynamics. In other words, it was not a transient state in the dynamics, so you do not need to worry how many times you compose functions to get to 18, starting from a state in the corresponding diagram in which the loop is.
Problem Loading...
Note Loading...
Set Loading...
We can make a list of all function values ( n , f ( n ) and then work our way backwards.
First, we look for f 1 ( n ) = 1 8 . These are just all values n for which f ( n ) gives 18. If we look at our list, 3 and 4 8 are the only numbers satisfying this.
Then, we search values so that f ( n ) = 3 ∨ f ( n ) = 4 8 . For this, we find 0 , 2 3 , 2 8 , 5 1 .
We proceed like this, now looking for n s that give 0 , ( 23 ), 2 8 or ( 51 ) and find 6 and 4 5 , then 1 , 1 8 , ( 33 ) and 5 0 , next 3 , but we've counted it already, 2 2 , 2 9 and 4 8 which we've also already counted. After that, there aren't any more numbers.
So we have found { 3 , 4 8 , 0 , 2 3 , 2 8 , 5 1 , 6 , 4 5 , 1 , 1 8 , 3 3 , 5 0 , 2 2 , 2 9 } , or (sorted) { 0 , 1 , 3 , 6 , 1 8 , 2 2 , 2 3 , 2 8 , 2 9 , 3 3 , 4 5 , 4 8 , 5 0 , 5 1 } , which is a total of 14 numbers.