SP4168 SQFREE - Square-free integers
Description
In number theory we call an integer square-free if it is not divisible by a perfect square, except 1. You have to count them!
Input Format
First line contains an integer _T_, the number of test cases (_T_≤100). The following T lines each contains one positive integer: _n_, where n ≤ 10 $ ^{14} $
Output Format
_T_ lines, on each line output the number of (positive) square-free integers not larger than n.