i=n=10395while~-i:n+=(n%i<1)*i*(n/i%2*2-1);i-=1print n
Standard input is empty
44405
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!