Numbers

Formulas & shortcuts
31.

How many integers from 1 through 200 are divisible by exactly one of 4 and 6?

Show answer
Explanation

Count each set of multiples and remove the intersection twice.

N4=⌊200/4⌋=50,N6=⌊200/6⌋=33,N12=⌊200/12⌋=16N_4=\left\lfloor200/4\right\rfloor=50,\quad N_6=\left\lfloor200/6\right\rfloor=33,\quad N_{12}=\left\lfloor200/12\right\rfloor=16 Nexactly one=50+33−2(16)=51N_{\text{exactly one}}=50+33-2(16)=\boxed{51}

Multiples of both must be excluded entirely, not counted once.

Answer: B = 51.

32.

What is the greatest positive integer that divides n³ - n for every integer n greater than 1?

Show answer
Explanation

Factor the expression into three consecutive integers.

n3−n=(n−1)n(n+1)n^3-n=(n-1)n(n+1)

Among three consecutive integers, at least one is even and one is divisible by 3. Thus every value is divisible by 6.

At n = 2 the expression equals 6, so no larger positive integer divides every value. The greatest is 6.

Answer: C = 6.