Advertisement
JoelSjogren

Untitled

Jan 30th, 2016
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. I am trying to express my extended multiplication pixel-by-pixel, and to do that I need to extend the information held by a pixel. Define a periodic pixel to be a 2-list of pixels [[a,b],[c,d]]. This periodic pixel represents the regular pixels [a,b], [a+c,b+d], [a+2c,b+2d], ..., but I don't know if [a-c,b-d] should be included here. Let's restrict ourselves at first to periodic pixels for which [1,1]<=[a,b]<=[c,d] so that we don't need to worry about that. Then [[a,b],[c,d]] is the same as the equation det([[i-a,j-b],[c,d]]) = 0, where we look for pixels [i,j].
  2.  
  3. EDIT: The determinant equation is not enough since that would make det([[i-a,j-b],[cq,dq]]) = q det([[i-a,j-b],[c,d]]) but I want [[i-a,j-b],[cq,dq]] to have less solutions than [[i-a,j-b],[c,d]]. So the rest of this comment is WRONG.
  4.  
  5.  
  6. Defining [[a,b],[c,d]] [[e,f],[g,h]] will be a matter of reducing a pair of equations, namely
  7. >> det([[i-a,j-b],[c,d]]) = 0
  8.  
  9. >> det([[j-e,k-f],[g,h]]) = 0
  10.  
  11. to a single equation of the same form,
  12. >> det([[i-x,k-y],[z,w]]) = 0.
  13. This is a congruential problem. I have partially solved it. This is my most recent equation:
  14. >> ids+bM+fgr = kgr+eM+ads
  15. where [r,s] = [c,h]/gcd(c,h) and [m, M] = [gcd, lcf](c, h) = [gcd(c, h), ch/gcd(ch)]. If all that notation is too much for you, it's basically
  16. >> idh+bch+fgc = kgc+ech+adh.
  17.  
  18.  
  19. How do we find x,y,z,w from here?
  20.  
  21.  
  22. Sometimes there is no solution. A classical example is [[a,b],[c,d]] = [[e,f],[g,h]] = [[1,2],[2,2]], to which we associate the matrix [0,1;0,0]. There is no solution because the square of this matrix is the zero matrix. A novel example is [[a,b],[c,d]] = [[e,f],[g,h]] = [[1,4],[2,6]] (basically [0,0,0,1,0,0;0,0,0,0,0,0]) which has to do with the definition of the collatz sequence 4, 1, 10, 2, 16, 3, ... .
  23.  
  24.  
  25. Suggestions?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement