MathDB
What function is this??

Source: LMAO 2024 P1

June 1, 2024
algebrafunctional equationlmao

Problem Statement

Denote by S\mathbb{S} the set of all proper subsets of Z>0\mathbb{Z}_{>0}. Find all functions f:SZ>0f : \mathbb{S} \mapsto \mathbb{Z}_{>0} that satisfy the following:\\
[color=#FFFFFF]___1. For all sets A,BSA, B \in \mathbb{S} we have f(AB)=min(f(A),f(B)).f(A \cap B) = \text{min}(f(A), f(B)). [color=#FFFFFF]___2. For all positive integers nn we have X[1,n]f(X)=2n+11.\sum \limits_{X \subseteq [1, n]} f(X) = 2^{n+1}-1.
(Here, by a proper subset XX of Z>0\mathbb{Z}_{>0} we mean XZ>0X \subset \mathbb{Z}_{>0} with XZ>0X \ne \mathbb{Z}_{>0}. It is allowed for XX to have infinite size.) \\
Proposed by MV Adhitya, Kanav Talwar, Siddharth Choppara, Archit Manas