Thread: Math Puzzles
View Single Post
Old 07-29-2022, 10:15 AM   #118
Mathgod
Franchise Player
 
Join Date: Feb 2009
Exp:
Default

Quote:
Originally Posted by psyang View Post
This problem was part of an IMO (International Math Olympiad) problem. It requires a bit more math than some of the others I've posted, but I hope you try it as it has a neat idea behind it.

Define a function f over all positive integers as:

f(1) = 1
f(3) = 3
f(2n) = f(n)
f(4n+1) = 2f(2n+1) - f(n)
f(4n+3) = 3f(2n+1) - 2f(n)

Under which conditions does f(n) = n?
Spoiler!
__________________

Last edited by Mathgod; 07-29-2022 at 10:43 AM.
Mathgod is offline   Reply With Quote