Discovering Associative Functions: A Prime Puzzle for Homework

Click For Summary

Homework Help Overview

The discussion revolves around finding functions \( f \) such that the least prime factor function \( d(f(p,q)) \) is associative for all prime numbers \( p \) and \( q \). The context involves exploring properties of prime numbers and their mappings.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants are attempting to define the function \( f \) and its properties, with one suggesting a specific example \( f(p,q) = pq \) and discussing its implications. Others question the nature of the function, considering whether it must map to primes or if other forms are acceptable. There is also a discussion about the potential existence of such a function and the conditions under which it might hold.

Discussion Status

The discussion is active, with participants sharing examples and questioning assumptions about the function's form. Some guidance has been offered regarding specific examples, but no consensus has been reached on the nature of the function or its properties.

Contextual Notes

Participants are exploring the implications of associativity in the context of prime numbers and are considering various forms of the function \( f \). There is uncertainty about the constraints on the function's output and whether it must be limited to prime numbers.

eddybob123
Messages
177
Reaction score
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
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...
 
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)?
 
I intend to find an algebraic function of p and q.
 

Similar threads

Replies
48
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
16
Views
2K
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K