Discovering Associative Functions: A Prime Puzzle for Homework

In summary, the problem is asking to find all functions f: P x P -> P, where P is the set of prime numbers, such that the composition of the least prime factor function, d, with f is associative for all prime numbers p and q. The solution involves exploring two cases, either the function g is surjective or p = g(p,q) and g(q,r) = r. Some possible functions that satisfy the criteria are f(p,q) = pq or f(p,q) = min(p,q).
  • #1
eddybob123
178
0

Homework Statement


Let ##d(n)## denote the least prime factor of a positive integer ##n##, and let ##p## and ##q## be prime numbers. Find all functions ##f## such that ##d(f(p,q))## is associative for all ##p## and ##q##.



Homework Equations


##f:\Bbb{P}\times \Bbb{P}\to \Bbb{P}## is a binary mapping of prime numbers.



The Attempt at a Solution


For clarity, we shall call the function composition ##(d\cdot f)(p,q)## simply ##g(p,q)##
To be honest, I'm not even sure such a function exists, let alone try and find it. My first instinct was to expand it out and try to "force" the solution:
$$g(p,g(q,r))))=g(g(p,q),r))$$
which gives us two cases: either ##g## is surjective or ##p=g(p,q)## and ##g(q,r)=r##.
What do you guys think?
 
Physics news on Phys.org
  • #2
As a quick example of such a function f, let f(p,q) = pq. Then d(f(p,q)) = min(p,q). And g(p,g(q,r)) = g(g(p,q),r) = min(p,q,r).

It's unlikely they intend for the image of f to be the primes (which your post seems to imply) as that would make composing it with d fairly boring...
 
  • #3
eddybob123 said:

Homework Statement


Let ##d(n)## denote the least prime factor of a positive integer ##n##, and let ##p## and ##q## be prime numbers. Find all functions ##f## such that ##d(f(p,q))## is associative for all ##p## and ##q##.



Homework Equations


##f:\Bbb{P}\times \Bbb{P}\to \Bbb{P}## is a binary mapping of prime numbers.



The Attempt at a Solution


For clarity, we shall call the function composition ##(d\cdot f)(p,q)## simply ##g(p,q)##
To be honest, I'm not even sure such a function exists, let alone try and find it. My first instinct was to expand it out and try to "force" the solution:
$$g(p,g(q,r))))=g(g(p,q),r))$$
which gives us two cases: either ##g## is surjective or ##p=g(p,q)## and ##g(q,r)=r##.
What do you guys think?

What's wrong with f(p,q)=2. Or f(p,q)=min(p,q)?
 
  • #4
I intend to find an algebraic function of p and q.
 

1. What are associative functions?

Associative functions are mathematical operations that follow a specific rule called the associative property. This property states that the grouping of numbers in an operation does not affect the result. In other words, when we apply associative functions to a set of numbers, the order in which we group the numbers will not change the outcome.

2. How can associative functions be used in solving puzzles?

Associative functions can be used in puzzles that involve finding patterns or relationships between numbers. By understanding how associative functions work, we can manipulate numbers in a specific way to uncover these patterns and solve the puzzle.

3. What is the importance of understanding associative functions?

Understanding associative functions can help us develop critical thinking and problem-solving skills. By recognizing patterns and relationships between numbers, we can approach problems in a more systematic and logical way. It also allows us to make connections between different mathematical concepts.

4. How can we apply associative functions in our daily lives?

Associative functions can be applied in various real-life situations, such as calculating discounts or taxes, managing finances, and solving logic puzzles. They can also be used in fields such as computer science and engineering to optimize processes and algorithms.

5. Can associative functions be used in other branches of mathematics?

Yes, associative functions are commonly used in algebra, calculus, and other branches of mathematics. They are also a fundamental concept in abstract algebra, which studies mathematical structures and their properties.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
553
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
959
  • Calculus and Beyond Homework Help
Replies
2
Views
2K
  • Calculus and Beyond Homework Help
Replies
16
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
814
  • Calculus and Beyond Homework Help
Replies
3
Views
523
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
Back
Top