#include <stdio.h>
int main(void)
{
int n, x, y;
int a[10000], b[10000];
while(scanf("%d", &n) != EOF){
int count = 0;
for(y = n + 1; y <= 2 * n; y ++){
if((n * y) % (y - n) == 0){
x = (n * y) / (y - n);
a[count] = x;
b[count] = y;
count++;
}
}
printf("%d\n", count);
int i;
for(i = 0; i < count; i++)
printf("1/%d = 1/%d + 1/%d\n", n, a[i], b[i]);
}
return 0;
}
反省:读题认真一些!!