Math Atlas

약수와 배수Factors & Multiples

기초 산술Foundations · 2. 약수와 배수2. Factors & Multiples

연습Practice72
학습 목표
  • 약수와 배수의 뜻을 나눗셈(나머지가 00)과 곱셈(a=b×a = b \times \square) 두 관점으로 말할 수 있다.
  • 약수를 짝지어 빠짐없이 찾고, "제곱해서 그 수를 넘지 않는 수까지만 확인하면 된다"는 이유를 설명할 수 있다.
  • 약수의 개수가 홀수인 수는 제곱수뿐임을 증명할 수 있다.
  • 배수의 합과 차가 다시 배수가 되는 이유를 알고, 큰 수의 배수 판단에 쓸 수 있다.

약수: 나누어떨어지게 하는 수

1212개의 점을 빈틈없는 직사각형으로 놓는 방법은 몇 가지일까. 한 줄에 1212개, 두 줄에 66개씩, 세 줄에 44개씩. 그리고 이것들을 돌린 것까지. 직사각형이 되려면 12=(줄 수)×(한 줄의 개수)12 = (\text{줄 수}) \times (\text{한 줄의 개수})가 되어야 하니, 결국 1212를 두 자연수의 곱으로 쓰는 문제다.

12개의 점으로 만들 수 있는 직사각형: 1 × 12, 2 × 6, 3 × 4. 변의 길이들이 12의 약수다. 1 × 12 2 × 6 3 × 4
12개의 점으로 만들 수 있는 직사각형: 1 × 12, 2 × 6, 3 × 4. 변의 길이들이 12의 약수다.

12=1×12=2×6=3×4.12 = 1 \times 12 = 2 \times 6 = 3 \times 4.

여기 나오는 수 1,2,3,4,6,121, 2, 3, 4, 6, 121212약수다. 55는 약수가 아니다. 121255줄로 놓으면 마지막 줄이 모자란다. 나눗셈으로 말하면 12÷5=2212 \div 5 = 2 \cdots 2로 나머지가 남는다.

정의약수와 배수

자연수 aa가 자연수 bb로 나누어떨어질 때(나머지가 00일 때) bbaa약수, aabb배수라고 한다. 곱셈으로 쓰면 a=b×(자연수)a = b \times (\text{자연수})가 되는 관계다.

  • 11은 모든 자연수의 약수이고, 모든 자연수는 자기 자신의 약수다.
  • 어떤 수의 배수는 그 수의 11배, 22배, 33배, …로 끝없이 많다.

12=3×412 = 3 \times 4 한 줄이 네 문장을 담고 있다. 331212의 약수, 441212의 약수, 121233의 배수, 121244의 배수. 약수와 배수는 같은 곱셈을 두 방향에서 읽은 이름이다.

약수는 짝으로 찾는다

3636의 약수를 빠짐없이 찾아보자. 11부터 차례로 나누어 보되, 약수를 하나 찾을 때마다 을 같이 적는다.

1×36,2×18,3×12,4×9,6×6.1 \times 36, \quad 2 \times 18, \quad 3 \times 12, \quad 4 \times 9, \quad 6 \times 6.

553636을 나누지 못하니 건너뛰고, 6×66 \times 6에서 두 짝이 만났다. 여기서 멈춰도 될까? 77 이상은 확인하지 않아도 된다. 3636을 두 수의 곱 a×ba \times b로 쓰고 aa가 작은 쪽이라 하면 a×aa×b=36a \times a \le a \times b = 36인데, 7×7=497 \times 7 = 49는 이미 3636을 넘으므로 작은 쪽은 반드시 66 이하다. 즉 모든 약수 짝의 작은 쪽은 11부터 66 사이에서 이미 다 나왔고, 큰 쪽은 그 짝으로 딸려 나온다.

36의 약수를 짝으로 잇기: 1과 36, 2와 18, 3과 12, 4와 9, 그리고 6은 자기 자신과 짝이다. 1 2 3 4 6 9 12 18 36 1 × 36 = 2 × 18 = 3 × 12 = 4 × 9 = 6 × 6
36의 약수를 짝으로 잇기: 1과 36, 2와 18, 3과 12, 4와 9, 그리고 6은 자기 자신과 짝이다.

3636의 약수는 1,2,3,4,6,9,12,18,361, 2, 3, 4, 6, 9, 12, 18, 3699개다.

정의확인은 어디까지

nn의 약수를 찾을 때는 제곱해서 nn을 넘지 않는 수까지만 나누어 보면 된다. 그 범위에서 찾은 약수 aa마다 짝 n÷an \div a를 적으면 약수 전체가 된다.

예제 1 · 72의 약수

7272의 약수를 모두 구하여라.

풀이. 8×8=64728 \times 8 = 64 \le 72이고 9×9=81>729 \times 9 = 81 > 72이므로 88까지만 확인한다. 72÷1,÷2,÷3,÷4,÷6,÷872 \div 1, \div 2, \div 3, \div 4, \div 6, \div 8은 나누어떨어지고 ÷5,÷7\div 5, \div 7은 안 된다.

1×72,2×36,3×24,4×18,6×12,8×9.1 \times 72, \quad 2 \times 36, \quad 3 \times 24, \quad 4 \times 18, \quad 6 \times 12, \quad 8 \times 9.

약수는 1,2,3,4,6,8,9,12,18,24,36,721, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 721212개다.

검산: 짝마다 곱이 7272인지 — 2×36=722 \times 36 = 72, 3×24=723 \times 24 = 72, 4×18=724 \times 18 = 72, 6×12=726 \times 12 = 72, 8×9=728 \times 9 = 72 ✓. 빠진 것이 없는지 — 55777272를 나누지 못하므로(72=5×14+272 = 5 \times 14 + 2, 72=7×10+272 = 7 \times 10 + 2) 그 짝도 없다 ✓.

약수의 개수가 홀수인 수

3636의 약수는 99개로 홀수였고, 7272의 약수는 1212개로 짝수였다. 차이는 그림에 이미 나와 있다. 약수는 짝을 이루므로 보통은 짝수 개다. 그런데 36=6×636 = 6 \times 6처럼 어떤 수가 자기 자신과 짝을 이루면 그 약수는 한 번만 세어져서 전체 개수가 홀수가 된다. 자기 자신과 짝을 이루는 약수 aa가 있다는 것은 n=a×an = a \times a라는 뜻이다.

정의제곱수

1,4,9,16,25,36,1, 4, 9, 16, 25, 36, \ldots처럼 어떤 자연수를 두 번 곱해 얻는 수를 제곱수라 한다. 점을 정사각형 모양으로 놓을 수 있는 개수다.

그러므로 약수의 개수가 홀수인 수는 제곱수뿐이고, 제곱수의 약수 개수는 언제나 홀수다. 증명은 방금 한 짝짓기 논증 그대로다. nn이 제곱수가 아니면 모든 약수가 서로 다른 짝을 이루어 개수가 짝수이고, n=a×an = a \times a이면 aa만 홀로 남아 개수가 홀수다.

예제 2 · 약수 개수로 수 고르기

11부터 5050까지의 자연수 중 약수의 개수가 홀수인 것을 모두 구하여라.

풀이. 제곱수를 찾으면 된다. 1×1,2×2,,7×71 \times 1, 2 \times 2, \ldots, 7 \times 71,4,9,16,25,36,491, 4, 9, 16, 25, 36, 49이고 8×8=648 \times 8 = 645050을 넘는다. 답은 이 77개다.

검산: 하나만 직접 세어 보자. 1616의 약수는 1,2,4,8,161, 2, 4, 8, 1655개로 홀수 ✓. 제곱수가 아닌 18181,2,3,6,9,181, 2, 3, 6, 9, 1866개로 짝수 ✓.

배수의 성질: 합과 차도 배수다

77의 배수 21213535를 더하면 56=7×856 = 7 \times 8, 또 77의 배수다. 우연이 아니다. 21=7×321 = 7 \times 3, 35=7×535 = 7 \times 5이므로 분배법칙에 의해

21+35=7×3+7×5=7×(3+5)=7×8.21 + 35 = 7 \times 3 + 7 \times 5 = 7 \times (3 + 5) = 7 \times 8.

뺄셈도 같다. 3521=7×(53)=7×235 - 21 = 7 \times (5 - 3) = 7 \times 2. 일반적으로 bb의 배수 둘을 더하거나 빼면 결과는 다시 bb의 배수다. 그리고 bb의 배수에 어떤 자연수를 곱해도 bb의 배수다. 7×37 \times 344를 곱하면 7×127 \times 12이기 때문이다.

이 성질은 큰 수가 배수인지 볼 때 힘을 낸다. 11911977의 배수일까? 119=70+49119 = 70 + 49이고 70704949가 둘 다 77의 배수이므로 11911977의 배수다(119=7×17119 = 7 \times 17). 250250은? 250=245+5250 = 245 + 5인데 245=7×35245 = 7 \times 3577의 배수이고 55는 아니다. 배수에 배수가 아닌 수를 더하면 배수가 될 수 없으므로(25025077의 배수라면 250245=5250 - 245 = 5도 배수여야 한다) 25025077의 배수가 아니다.

예제 3 · 빼서 판단하기

1,0011{,}00177의 배수인가?

풀이. 1,0011{,}001에서 눈에 보이는 77의 배수를 덜어 낸다. 700700을 빼면 301301, 다시 280280을 빼면 2121. 21=7×321 = 7 \times 377의 배수이므로, 덜어 낸 것들과 남은 것이 전부 77의 배수인 1,0011{,}00177의 배수다.

검산: 1,001=700+280+21=7×(100+40+3)=7×1431{,}001 = 700 + 280 + 21 = 7 \times (100 + 40 + 3) = 7 \times 143 ✓.

참고

"배수끼리 더하고 빼도 배수"는 다음 차시 배수 판정법과 그다음의 최대공약수 계산의 밑바탕이 된다. 근거가 분배법칙 한 줄이라는 것을 기억해 두자.

Goals
  • State what factors and multiples are in two ways: through division (remainder 00) and through multiplication (a=b×a = b \times \square).
  • Find all factors of a number in pairs, and explain why you only need to test numbers whose square does not exceed the number.
  • Prove that the only numbers with an odd number of factors are the perfect squares.
  • Explain why sums and differences of multiples are again multiples, and use that to decide whether a large number is a multiple.

Factors: the numbers that divide evenly

In how many ways can 1212 dots be arranged in a solid rectangle? One row of 1212, two rows of 66, three rows of 44, and the turned versions of these. A rectangle needs 12=(rows)×(dots per row)12 = (\text{rows}) \times (\text{dots per row}), so the question is really: in how many ways can 1212 be written as a product of two whole numbers?

Rectangles made of 12 dots: 1 × 12, 2 × 6, 3 × 4. The side lengths are the factors of 12. 1 × 12 2 × 6 3 × 4
Rectangles made of 12 dots: 1 × 12, 2 × 6, 3 × 4. The side lengths are the factors of 12.

12=1×12=2×6=3×4.12 = 1 \times 12 = 2 \times 6 = 3 \times 4.

The numbers appearing here, 1,2,3,4,6,121, 2, 3, 4, 6, 12, are the factors of 1212. The number 55 is not a factor: 1212 dots in 55 rows leave the last row short. In division language, 12÷5=2 R 212 \div 5 = 2 \text{ R } 2 has a remainder.

DefinitionFactors and multiples

When a whole number aa is divided evenly by a whole number bb (remainder 00), bb is a factor of aa and aa is a multiple of bb. In multiplication language, a=b×(a whole number)a = b \times (\text{a whole number}).

  • 11 is a factor of every whole number, and every whole number is a factor of itself.
  • The multiples of a number are 11 times it, 22 times it, 33 times it, and so on, without end.

The single line 12=3×412 = 3 \times 4 carries four statements: 33 is a factor of 1212, 44 is a factor of 1212, 1212 is a multiple of 33, 1212 is a multiple of 44. Factor and multiple are the same multiplication read from two ends.

Finding factors in pairs

Let's find every factor of 3636. Test 1,2,3,1, 2, 3, \ldots in turn, but each time a factor turns up, write down its partner as well.

1×36,2×18,3×12,4×9,6×6.1 \times 36, \quad 2 \times 18, \quad 3 \times 12, \quad 4 \times 9, \quad 6 \times 6.

The number 55 does not divide 3636, so skip it; at 6×66 \times 6 the two partners meet. May we stop here? Yes: nothing from 77 upward needs testing. Write 36=a×b36 = a \times b with aa the smaller of the two. Then a×aa×b=36a \times a \le a \times b = 36, and since 7×7=497 \times 7 = 49 already exceeds 3636, the smaller partner must be at most 66. So the smaller member of every factor pair has already appeared among 11 through 66, and the larger member came along as its partner.

Pairing the factors of 36: 1 with 36, 2 with 18, 3 with 12, 4 with 9, and 6 paired with itself. 1 2 3 4 6 9 12 18 36 1 × 36 = 2 × 18 = 3 × 12 = 4 × 9 = 6 × 6
Pairing the factors of 36: 1 with 36, 2 with 18, 3 with 12, 4 with 9, and 6 paired with itself.

The factors of 3636 are 1,2,3,4,6,9,12,18,361, 2, 3, 4, 6, 9, 12, 18, 36, nine of them.

DefinitionHow far to test

To find the factors of nn, test only the numbers whose square does not exceed nn. For each factor aa found in that range, write its partner n÷an \div a, and you have them all.

Example 1 · The factors of 72

Find all factors of 7272.

Solution. Since 8×8=64728 \times 8 = 64 \le 72 and 9×9=81>729 \times 9 = 81 > 72, test only up to 88. Dividing 7272 by 1,2,3,4,6,81, 2, 3, 4, 6, 8 comes out even; by 55 and 77 it does not.

1×72,2×36,3×24,4×18,6×12,8×9.1 \times 72, \quad 2 \times 36, \quad 3 \times 24, \quad 4 \times 18, \quad 6 \times 12, \quad 8 \times 9.

The factors are 1,2,3,4,6,8,9,12,18,24,36,721, 2, 3, 4, 6, 8, 9, 12, 18, 24, 36, 72, twelve in all.

Check: each pair multiplies to 7272: 2×362 \times 36, 3×243 \times 24, 4×184 \times 18, 6×126 \times 12, 8×98 \times 9 ✓. Nothing is missing: 55 and 77 do not divide 7272 (72=5×14+272 = 5 \times 14 + 2, 72=7×10+272 = 7 \times 10 + 2), so neither do their would-be partners ✓.

Numbers with an odd number of factors

3636 had 99 factors, an odd number; 7272 had 1212, an even number. The picture already explains the difference. Factors come in pairs, so normally there is an even number of them. But when a number is paired with itself, as in 36=6×636 = 6 \times 6, that factor is counted only once, and the total becomes odd. A factor aa paired with itself means exactly that n=a×an = a \times a.

DefinitionPerfect squares

Numbers obtained by multiplying a whole number by itself, 1,4,9,16,25,36,1, 4, 9, 16, 25, 36, \ldots, are perfect squares. They are the dot counts that can be arranged in a square.

Therefore the only numbers with an odd number of factors are the perfect squares, and every perfect square has an odd number of factors. The proof is exactly the pairing argument: if nn is not a square, every factor has a distinct partner and the count is even; if n=a×an = a \times a, then aa alone stands unpaired and the count is odd.

Example 2 · Picking numbers by their factor count

Find every whole number from 11 through 5050 that has an odd number of factors.

Solution. We need the perfect squares. 1×1,2×2,,7×71 \times 1, 2 \times 2, \ldots, 7 \times 7 give 1,4,9,16,25,36,491, 4, 9, 16, 25, 36, 49, and 8×8=648 \times 8 = 64 is past 5050. Those seven are the answer.

Check one directly: the factors of 1616 are 1,2,4,8,161, 2, 4, 8, 16, five of them, odd ✓. The non-square 1818 has factors 1,2,3,6,9,181, 2, 3, 6, 9, 18, six of them, even ✓.

A property of multiples: sums and differences

Add the multiples of 77, 2121 and 3535, and you get 56=7×856 = 7 \times 8, another multiple of 77. Not a coincidence. Since 21=7×321 = 7 \times 3 and 35=7×535 = 7 \times 5, the distributive law gives

21+35=7×3+7×5=7×(3+5)=7×8.21 + 35 = 7 \times 3 + 7 \times 5 = 7 \times (3 + 5) = 7 \times 8.

Subtraction works the same way: 3521=7×(53)=7×235 - 21 = 7 \times (5 - 3) = 7 \times 2. In general, adding or subtracting two multiples of bb gives another multiple of bb. And a multiple of bb times any whole number is still a multiple of bb, since 7×37 \times 3 times 44 is 7×127 \times 12.

This property earns its keep on large numbers. Is 119119 a multiple of 77? Since 119=70+49119 = 70 + 49 and both 7070 and 4949 are multiples of 77, so is 119119 (indeed 119=7×17119 = 7 \times 17). What about 250250? Here 250=245+5250 = 245 + 5, where 245=7×35245 = 7 \times 35 is a multiple of 77 and 55 is not. A multiple plus a non-multiple can never be a multiple (if 250250 were a multiple of 77, then 250245=5250 - 245 = 5 would have to be one too), so 250250 is not a multiple of 77.

Example 3 · Deciding by subtracting

Is 1,0011{,}001 a multiple of 77?

Solution. Peel off multiples of 77 that are easy to see. Subtract 700700 to get 301301; subtract 280280 to get 2121. Since 21=7×321 = 7 \times 3 is a multiple of 77, and everything we removed was too, 1,0011{,}001 is a multiple of 77.

Check: 1,001=700+280+21=7×(100+40+3)=7×1431{,}001 = 700 + 280 + 21 = 7 \times (100 + 40 + 3) = 7 \times 143 ✓.

Note

"Sums and differences of multiples are multiples" underlies next lesson's divisibility rules and, later, the computation of greatest common factors. Its whole justification is one line of the distributive law, which is worth keeping in mind.