int N; int newline; int factor(int n ) { int i; int sum; sum=0; i=1; while(i