1, 3, 11, 33
3 and 11 are prime.
By dividing it by the prime factors that have no remainders
1,2,5,10
3 and 5
No
Assuming you meant the factors of 33, there are 4:1, 3, 11, 33.The factors of 33 are 1, 3, 11 and 33
The factors of 33 are: 1, 3, 11, and 33.The prime factors of 33 are: 3 and 11.The factors of 99 are: 1, 3, 9, 11, 33, and 99.The prime factors of 99 are: 3 and 11.
The factors of 33 are 1, 3, 11, and 33.
import java.io.*; class PrimeFactors { private boolean prime(int a) { boolean b=true; for(int i=2;i<=(a/2);i++) { if(a%i==0) b=false; } return b; } protected static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter the Number: "); int a=Integer.parseInt(in.readLine()); PrimeFactors o=new PrimeFactors(); System.out.println("Prime Factors of "+a+" are::"); for(int i=1;i<=(a/2);i++) { if(a%i==0) { boolean b=o.prime(i); if(b==true) System.out.print(i+" "); } } }}
The factors of 21 are: 1, 3, 7, 21 The factors of 33 are: 1, 3, 11, 33
The factors of 33 are: 1, 3, 11, 33 The factors of 39 are: 1, 3, 13, 39
It has 4 factors. 1,3,11, and 33
Factors of 25: 1, 5, 25. Factors of 33: 1, 3, 11, 33.