I have defined the function that counts the number of square divisors of input integer x. The function is
Now when computing the average number of square divisors cases at H = 10000000 I get
Divisors::argx: Divisors called with 0 arguments; 1 argument is expected.
When tested for smaller values, say 10^3, 10^4, 10^5, 10^6 I get the proper sum. So at 10^7 the Divisors function is claiming that it is called with zero arguments. How can this occur?
Is this an error in Mathematica or something else?
I have tested this on two difference computers using the latest version of Mathematica.