public static int[]countProton(int value){
int [] a=new int[value];
int b=0;
for (int i =2; i
if (value%i==0){
a[b]=i;
b++;
}
}
if (b==0)return null;
return Arrays.copyOf(a,b);
}
public static int[]countProton(int value){
int [] a=new int[value];
int b=0;
for (int i =2; i
if (value%i==0){
a[b]=i;
b++;
}
}
if (b==0)return null;
return Arrays.copyOf(a,b);
}