Which of the following numbers is a factor of A?
\large{WRONGFACTORS_SORTED.join( "," )}
B
wrongBy definition, a factor of a number will divide evenly into that number. We can start by dividing A by each of our answer choices.
A \div WRONG = floor( A / WRONG )\text{ R }( A % WRONG )
The only answer choice that divides into A with no remainder is B. \quadFACTOR * B = A.
We can check our answer by looking at the prime factorization of both numbers. Notice that the prime factors of B are contained within the prime factors of A.
A = FACTORIZATION_A.join( "\\times" )\qquad\qquadB = FACTORIZATION_B.join( "\\times" )
Therefore the only factor of A out of our choices is B. We can say that A is divisible by B.
Which of the following numbers is a multiple of B?
\large{WRONGMULTIPLES_SORTED.join( "," )}
A
wrongThe multiples of B are B, B*2, B*3, B*4.....
In general, any number that leaves no remainder when divided by B is considered a multiple of B.
We can start by dividing each of our answer choices by B.
WRONG \div B = floor( WRONG / B )\text{ R }( WRONG % B )
The only answer choice that leaves no remainder after the division is A. \quadFACTOR * B = A.
We can check our answer by looking at the prime factorization of both numbers. Notice that the prime factors of B are contained within the prime factors of A.
A = FACTORIZATION_A.join( "\\times" )\qquad\qquadB = FACTORIZATION_B.join( "\\times" )
Therefore the only multiple of B out of our choices is A. We can say that A is divisible by B.