#include<stdio.h> #include<math.h> int main(){ int i, n = 1 ; for ( i = 2; n < 10; i++){ if(n % i == 0) { printf("%i\t", n); n++; } } return 0; }