Fortran code for calculating the number of singlets. estimsinglet.f90 is a recursive code based on similar algorithm of colorsinglet.4.m; singlet.f90 is based on colorsinglet.5.m with set.f90 providing scalable vector data structure.