Collective states of even-even and odd nuclei with β2, β3, …, βN deformations