Howtofindgroupandperiod