Why this code is showing 4913 a number like ramanujan number?when showing sets are 17 and 2048, 4096 and 17 . Please answer
#include<stdio.h> int main() { int a,count=0,c,j,k,l,m,x; printf("Enter the number: "); scanf("%d",&a); x=a; for(j=1;j<=a-1;j++){ for(k=1;k<=a-1;k++){ c=(j*j*j)+(k*k*k); if(c==x) break; } if(c==x){ count++; break; } } if(count==1){ for(l=1;l<=a-1;l++){ if(l==j||l==k) continue; else{ for(m=1;m<=a-1;m++){ c=(l*l*l)+(m*m*m); if(c==x) break; } } if(c==x){ count++; break;} } } if(count==2){ printf("%d is a Ramanujan number. sets are %d and %d, %d and %d.",x,j,k,l,m); } else printf("%d is not a Ramanujan number.",x); return 0; }