A Problem of the Allocation of Particles in Cells and Random Mappings