Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(){
- int MAX=10;
- for(int n=1;n<=MAX;n++){
- for(int k=1;k < n;k++){
- for(int m=1;m<=n;m++){
- if( (m*k)%n==0 && n%m != 0 && n%k!=0){
- printf("n = %d, k = %d, m = %d is a counterexample n",n,k,m);
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment