HP Printer Paper Mysterious Math Problem

On the cover of HP Printer A4 Paper, there is a mysterious Math Problem, which is strangely not solved by anyone on the internet yet! At least, when I gave it a search on Google, no one seems to have solved it…

hp printer mathIMG_4869

Click on the images above to zoom in!

I will also type out the question in case the image is not clear:

Problem of the Week

Suppose f is a function from positive integers to positive integers satisfying f(1)=1, f(2n)=f(n), and f(2n+1)=f(2n)+1, for all positive integers n.

Find the maximum of f(n) when n is greater than or equal to 1 and less than or equal to 1994.


I will give it a try when I have free time this week.

Anyone who is interested to try please leave your answer in the comments below! I will help to verify if it is correct. If it is, you may be the first person on the internet to solve the HP A4 Paper Math Problem! 🙂

You may also forward this problem to your friends to try!

Update: Solution can be found here (Solution to HP A4 Printer Paper Mysterious Question)


Problems of Number Theory in Mathematical Competitions (Mathematical Olympiad Series) is a Math Olympiad book written by 2 Chinese authors. As everyone may know, China is one of the big guns of International Math Olympiad, winning the most medals out of all the countries almost each time, due to the huge talent pool of kids, and also their specialized Chinese Math training. So, to discover the Chinese Math secrets of Number Theory, this book cannot be missed. (By the way, this book is written in English, in case of any misunderstanding.)