An asymptotic formula for the number of partitions into p-cores is derived. As a byproduct some integer valued trigonometric sums are found