{"trustable":true,"sections":[{"title":"","value":{"format":"HTML","content":"\u003cdiv\u003e\u003cp\u003e给定一个正整数 \u003ci\u003eX\u003c/i\u003e,长度为 \u003ci\u003em\u003c/i\u003e 的 \u003ci\u003eX\u003c/i\u003e 因子链是一个整数序列,\u003c/p\u003e\u003cp\u003e1 \u003d\u003ci\u003e X\u003c/i\u003e\u003csub\u003e0\u003c/sub\u003e, \u003ci\u003eX\u003c/i\u003e\u003csub\u003e1\u003c/sub\u003e, \u003ci\u003eX\u003c/i\u003e\u003csub\u003e2\u003c/sub\u003e, …, \u003ci\u003eX\u003csub\u003em\u003c/sub\u003e \u003c/i\u003e\u003d\u003ci\u003e X\u003c/i\u003e\u003c/p\u003e\u003cp\u003e满足\u003c/p\u003e\u003cp\u003e\u003ci\u003eX\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e \u0026lt; \u003ci\u003eX\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e\u003csub\u003e+1\u003c/sub\u003e 且 \u003ci\u003eX\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e | \u003ci\u003eX\u003csub\u003ei\u003c/sub\u003e\u003c/i\u003e\u003csub\u003e+1\u003c/sub\u003e,其中 \u003ci\u003ea\u003c/i\u003e | \u003ci\u003eb\u003c/i\u003e 表示 \u003ci\u003ea\u003c/i\u003e 完全整除 \u003ci\u003eb\u003c/i\u003e。\u003c/p\u003e\u003cp\u003e现在我们对 \u003ci\u003eX\u003c/i\u003e 因子链的最大长度和该长度的链的数量感兴趣。\u003c/p\u003e\u003c/div\u003e"}},{"title":"输入","value":{"format":"HTML","content":"\u003cp\u003e输入包含多个测试用例。每个测试用例包含一个正整数 \u003ci\u003eX\u003c/i\u003e (\u003ci\u003eX\u003c/i\u003e ≤ 2\u003csup\u003e20\u003c/sup\u003e)。\u003c/p\u003e"}},{"title":"输出","value":{"format":"HTML","content":"\u003cp\u003e对于每个测试用例,输出最大长度和该长度的 \u003ci\u003eX\u003c/i\u003e 因子链的数量。\u003c/p\u003e"}},{"title":"示例","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\n3\r\n4\r\n10\r\n100\u003c/pre\u003e\u003c/td\u003e\n \u003ctd\u003e\u003cpre\u003e1 1\r\n1 1\r\n2 1\r\n2 2\r\n4 6\u003c/pre\u003e\u003c/td\u003e\n \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e"}}]}