The paper investigated a set of non-Gaussian states generated by measuring the number of particles in one of the modes of a two-mode entangled Gaussian state. It was demonstrated that all generated states depend on two types of parameters: some parameters are responsible for Gaussian characteristics, while other parameters are responsible for non-Gaussian characteristics. Among all generated states, we identified those optimally generated in terms of the generation probability and the magnitude of non-Gaussianity.