{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"Longge is good at mathematics and he likes to think about hard mathematical problems which will be solved by some graceful algorithms. Now a problem comes: Given an integer N(1 \u0026lt; N \u0026lt; 2^31),you are to calculate ∑gcd(i, N) 1\u0026lt;\u003di \u0026lt;\u003dN. \r\u003cbr\u003e\r\u003cbr\u003e\"Oh, I know, I know!\" Longge shouts! But do you know? Please solve it.\r\u003cbr\u003e"}},{"title":"Input","value":{"format":"HTML","content":"Input contain several test case.\r\u003cbr\u003eA number N per line.\r\u003cbr\u003e"}},{"title":"Output","value":{"format":"HTML","content":"For each N, output ,∑gcd(i, N) 1\u0026lt;\u003di \u0026lt;\u003dN, a line "}},{"title":"Sample","value":{"format":"HTML","content":"\u003ctable class\u003d\u0027vjudge_sample\u0027\u003e\n\u003cthead\u003e\n \u003ctr\u003e\n \u003cth\u003eInput\u003c/th\u003e\n \u003cth\u003eOutput\u003c/th\u003e\n \u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n \u003ctr\u003e\n \u003ctd\u003e\u003cpre\u003e2\r\n6\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e3\r\n15\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}}]}