Processing math: 100%


InclusionExclusion Basic

Problem - 2725
How many positive integers not exceeding 106 are there which are neither square nor cubic?

By the inclusion-exclusion principle, we can obtain the answer as 106(103+10210)=998910

report an error