Very interesting problem that puzzles me

  • Context: Graduate 
  • Thread starter Thread starter jdp
  • Start date Start date
  • Tags Tags
    Interesting
Click For Summary

Discussion Overview

The discussion revolves around a mathematical problem involving a function f defined on natural numbers. Participants explore the properties of f based on given conditions, including functional equations and specific values. The scope includes mathematical reasoning and exploration of potential solutions.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the problem with conditions: f(2x) = f(f(y)), f(2y) + 1 = f(2y + 1), and f(0) = 0, and seeks assistance in solving it.
  • Another participant questions whether x and y are specific integers or arbitrary numbers and proposes a potential relationship f(2x + 1) = f(2x) + 1.
  • A different participant suggests that using f(0) = 0 leads to f(1) = 1, f(2) = 2, and posits that for natural numbers, f(x) = x.
  • One participant reformulates the problem to clarify the conditions and emphasizes that it prevents trivial solutions.
  • Another participant discusses the implications of the relationships and explores the behavior of f for even and odd integers, suggesting that the clues indicate different behaviors based on parity.
  • One participant reiterates the reformulated problem and provides calculations for specific values of f, suggesting a pattern emerges for even and odd n.

Areas of Agreement / Disagreement

Participants express differing views on the nature of the function f and its behavior. Some propose specific forms of f based on calculations, while others question the completeness of the problem statement and the assumptions made. The discussion remains unresolved with multiple competing views on the function's properties.

Contextual Notes

Participants note the importance of exploring mathematical relations and patterns, but there are unresolved assumptions regarding the nature of the function and its definition across all natural numbers.

jdp
Messages
3
Reaction score
0
One of my friends showed me this problem and I've been thinking about it all day. It's something like if f(2x) is equal to f(f(y)) and that f(2y) + 1 is f(2y +1) and f(0) is 0, what is f(n). It seems very maclaurin esque to me but... anyway... first post and pretty nice problem. Would love help figuring this beast out.
 
Mathematics news on Phys.org
Number them:
1. f(2x)=f(f(y))
2. f(2y)+1=f(2y+1)
3. f(0)=0

guessing: x,y,n are integers?
are x and y specific numbers or is just any arbitrary number?
i.e. does this also hold: ##f(2x+1)=f(2x)+1## ?

If so then I'd start from the observations:

#1 tells you f(f(n))=f(some even number).
#2 (with #3) tells you that if n is odd, then f(n)=f(n-1)+1
 
That looks weird. Are you sure there isn't something missing?

By #3, [itex]f(0)=0[/itex], using [itex]y=0[/itex], by #2, [itex]f(1)=1[/itex]. Using [itex]2y=1[/itex] and #2 again, [itex]f(2)=2[/itex], and so forth.

So at least for [itex]x \in \mathbb{N}[/itex], [itex]f(x)=x[/itex].
 
I think OP's problem is the following:

Find ##f : \mathbb{N} \to \mathbb{N}## satisfying
  1. ##f(0) = 0##,
  2. For each ##k \in \mathbb{N}## we have ##f(2k) = f(f(k))##,
  3. For each ##k \in \mathbb{N}## we have ##f(2k+1) = f(2k) + 1##.

At the very least it prevents the trivial solution.

Note: I'm including 0 in the naturals for this problem.
 
Yes, I clarified. Exactly like this. I just don't know where to start
 
Have you had a play with the relations, looking at different numbers?

Using pwsnafu's formulation in post #4:

If ##f^{-1}\big ( f(k)\big )=k## is the inverse function in action,
then, from #2:
##f^{-1}\big ( f(2k)\big ) = f^{-1}\big ( f(f(k)\big ) \\ \Rightarrow f(k)=2k##​
But that does not fit the other clues.

Notice: 2k is always even, 2k+1 is always odd.
... so the clues are telling you what happens in the case of odd or even n.

This is how you go about exploring mathematical relations - you end up making a list of things that the relations are telling you.
It's important that you get used to this process - after a bit you spot a pattern that looks likely and you set out to prove it.

eg.
What happens when you apply the formula to k=0?
What is f(f(2k))? f(f(2k+1))?
 
pwsnafu said:
I think OP's problem is the following:

Find ##f : \mathbb{N} \to \mathbb{N}## satisfying
  1. ##f(0) = 0##,
  2. For each ##k \in \mathbb{N}## we have ##f(2k) = f(f(k))##,
  3. For each ##k \in \mathbb{N}## we have ##f(2k+1) = f(2k) + 1##.

At the very least it prevents the trivial solution.

Note: I'm including 0 in the naturals for this problem.
Start by doing the obvious calculations. 1 is odd: 1= 2(0)+ 1 so f(1)= f(2(0)+ 1)= f(2(0))+ 1= f(0)+ 1= 1. 2 is even: 2= 2(1) so f(2)= f(f(1))= f(1)= 1. 3 is odd: 3= 2(1)+ 1 so f(3)= f(2(1)+ 1)= f(2(1))+ 1= f(2)+ 1= 1+ 1= 2. 4 is even: 4= 2(2) so f(4)= f(2(2))= f(f(2))= f(1)= 1. 5 is odd: 5= 2(2)+ 1 so f(5)= f(2(2)+ 1)= f(2(2))+ 1= f(4)+ 1= 1+ 1= 2.

You should be able to see a very easy pattern for f(n) when n is even and for f(n) when n is odd. And then use "proof by induction" to show that you are correct.
 
Last edited by a moderator:

Similar threads

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