Entropy-based analysis of the number partitioning problem