Starting from 2 , present value of start is denoted here as curStart
int curStart = 2 , ans = 0 ; int sqrtN = ( int ) Math . sqrt ( n ) ; while ( curStart <= n / curStart ) { int V = n / ( curStart * curStart ) ;