: simple problem 3x = 1 (mod 16), find all possible values of x mod 16

  • Context: High School 
  • Thread starter Thread starter bobthebanana
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around solving the modular equation 3x = 1 (mod 16) and finding all possible values of x mod 16. Participants explore various methods and reasoning related to this problem.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Exploratory

Main Points Raised

  • One participant expresses difficulty in solving the equation and seeks assistance.
  • Another participant notes that since 3 is relatively prime to 16, the equation has a unique solution and suggests looking for a specific number that satisfies the equation.
  • A different approach is proposed involving brute force, where participants can try values of x from 0 to 17 to find a repeating pattern in the results of 3x mod 16.
  • Another participant suggests a method of adding 1 to multiples of 16 and dividing by 3 to find integer solutions, indicating a belief that this is an easier approach.

Areas of Agreement / Disagreement

Participants present multiple competing views on how to approach the problem, with no consensus on a single method or solution. The discussion remains unresolved regarding the best approach to find the values of x.

Contextual Notes

Some methods rely on specific properties of numbers and modular arithmetic, while others suggest empirical testing. The discussion does not resolve the assumptions or limitations of each proposed method.

bobthebanana
Messages
21
Reaction score
0
URGENT: simple problem... 3x = 1 (mod 16), find all possible values of x mod 16

simple problem... 3x = 1 (mod 16), find all possible values of x mod 16

so this is what I've come to:
3x = 1 + 16k, where k is any integer

i'm stuck though, any help?

thanks
 
Physics news on Phys.org
3 is relatively prime to 16, thus the elements 3x1, 3x2, 3x3...3x15 are all distinct, and simply form a permutation of the original multiplicative group. That is to say...there is only a single answer to your problem.

You can see that also by: [tex]3x \equiv 3y Mod {16} \rightarrow {x} \equiv {y} Mod {16.}[/tex]

Then all you have to do is find that one number. Hint(1): It can't be a multiple of 2. Hint(2): Look for a solution of [tex]3x \equiv {-1}\equiv{15} Mod 16[/tex] and then subtract that number from 16.
 
Last edited:
You can just brute force this one by trying 3x mod 16, with x = 0 to 17 and look for a repeating pattern. All modulo sequences like this will repeat, but may not include all the numbers from 0 to M-1 (where M is the modulus), for example an even number times X modulo an even number will never produce an odd result, cutting out half the numbers in the range, and the cycle repeats at a faster "rate" (2X mod 8 for X = 0->n = 0 2 4 6 0 2 4 6 ...).
 
Last edited:
Adding 1 to the multiples of 16 up to 32 and dividing by 3 until obtention of an integer is an easier solution, I believe.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
14K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 25 ·
Replies
25
Views
8K
  • · Replies 12 ·
Replies
12
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 5 ·
Replies
5
Views
9K