Guest User

Untitled

a guest
Oct 23rd, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. int main(){
  2. int MAX=10;
  3. for(int n=1;n<=MAX;n++){
  4. for(int k=1;k < n;k++){
  5. for(int m=1;m<=n;m++){
  6. if( (m*k)%n==0 && n%m != 0 && n%k!=0){
  7. printf("n = %d, k = %d, m = %d is a counterexample n",n,k,m);
  8. }
  9. }
  10. }
  11. }
  12. }
Add Comment
Please, Sign In to add comment