Recently, it has been possible to construct single-electron transistors to
study electronic properties, including superconductivity, in metallic grain
s of nanometer size. Among several theoretical results are suppression of s
uperconductivity with decreasing grain size and parity effect, that is, dep
endence on the parity of the number of electrons on the grain. We study how
these results are affected by degeneracy of energy levels. In addition to
the time-reversal symmetry, for certain energy spectra and more generally f
or lattice symmetries, energy levels are strongly degenerate near the Fermi
energy. For a parabolic dispersion, degeneracy d is of the order of k(F)L,
whereas the typical distance between the levels is of the order of epsilon
(F)/(k(F)L)(2) where k(F) and EF are the Fermi wave vector and energy, res
pectively, and L is the particle size. First, using an exact solution metho
d for BCS Hamiltonian with finite number of energy levels, we find a new fe
ature for the well studied nondegenerate case. In that case, parity effect
exhibits a minimum instead of a monotonic behavior. For d-fold degenerate s
tates we find that the ratio of two successive parity-effect parameters Del
ta (p) is nearly 1 + 1/d. Our numerical solutions for the exact ground stat
e energy of negative-U Hubbard model on a cubic cluster also give very simi
lar results. Hence we conclude that parity effect is a general property of
small Fermi systems with attractive interaction, and it is closely related
to degeneracy of energy levels.