Necessary and sufficient conditions for certain homology 3-spheres to have smooth Zp-actions