{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\r\n \u003cdiv\u003e\r\n \u003cp style\u003d\"font-family:\u0027Times text-indent:0.74cm;\"\u003e\n\t \u003cspan style\u003d\"font-family:\u0027DejaVu \"\u003e\u003c/span\u003e\n\u003c/p\u003e\n\u003cp style\u003d\"font-family:\u0027Times text-indent:0.74cm;\"\u003e\n\t\u003cspan style\u003d\"font-family:\u0027Microsoft \"\u003ePaula and Tai are couple. There are many stories between them. The day Paula left by airplane, Tai send one message to telephone 2200284, then, everything is changing… (The story in “the snow queen”).\u003c/span\u003e \n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp style\u003d\"font-family:\u0027Times text-indent:0.74cm;\"\u003e\n\t\u003cspan style\u003d\"font-family:\u0027Microsoft \"\u003eAfter a long time, Tai tells Paula, the number 220 and 284 is a couple of friends number, as they are special, all divisors of 220’s sum is 284, and all divisors of 284’s sum is 220. Can you find out there are how many couples of friends number less than 10,000. Then, how about 100,000, 200,000 and so on.\u003c/span\u003e \n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp style\u003d\"font-family:\u0027Times text-indent:0.74cm;\"\u003e\n\t\u003cspan style\u003d\"font-family:\u0027Microsoft \"\u003eThe task for you is to find out there are how many couples of friends number in given closed interval [a,b]\u003c/span\u003e\u003cspan style\u003d\"font-family:Microsoft \"\u003e。\u003c/span\u003e \n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n \n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp style\u003d\"font-family:\u0027Times text-indent:0.74cm;\"\u003e\n\t\u003cspan style\u003d\"font-family:\u0027DejaVu \"\u003e\u003c/span\u003e \n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e\n\u003cp\u003e\n\t\u003cbr\u003e\n\u003c/p\u003e \u003c/div\u003e\r\n "}},{"title":"Input","value":{"format":"HTML","content":"\r\n \u003cdiv\u003e\r\n There are several cases.\u003cbr\u003eEach test case contains two positive integers a, b(1\u0026lt;\u003d a \u0026lt;\u003d b \u0026lt;\u003d5,000,000).\u003cbr\u003eProceed to the end of file. \u003c/div\u003e\r\n "}},{"title":"Output","value":{"format":"HTML","content":"\r\n \u003cdiv\u003e\r\n For each test case, output the number of couples in the given range. The output of one test case occupied exactly one line.\u003cbr\u003e \u003c/div\u003e\r\n "}},{"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\r\n \u003cpre\u003e1 100\n1 1000\u003c/pre\u003e\r\n \u003c/td\u003e\n \u003ctd\u003e\r\n \u003cpre\u003e0\n1\u003c/pre\u003e\r\n \u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n"}},{"title":"Hint","value":{"format":"HTML","content":"\r\n \u003cpre\u003e6 is a number whose sum of all divisors is 6. 6 is not a friend number, these number is called Perfect Number.\n\u003c/pre\u003e\r\n "}}]}