https://123dok.net/document/yd7krl2e-on-bose-occupancy-problem-with-randomized-energy-levels.html