← All lessons

Divisibility (Hard)

Late AMC 10/12 through early AIME — dense computation.

Divisibility: core idea

Factor counting.

Example problem: hint and answer

Find the least digit aa for which 57a257a2 is divisible by 99.

Hint: Use congruences and factorization rather than calculating large numbers. Answer: 4.

Practice (9 problems — type your answers)

  • 1. How many integers from 11 to 500500 are divisible by 66 or 1010?

  • 2. Find the remainder when 71007^{100} is divided by 1313.

  • 3. For how many digits aa is 3a723a72 divisible by 1111?

  • 4. Find the smallest positive multiple of 3737 with only digit 11.

  • 5. How many divisors of 360360 are divisible by 1212?

  • 6. Find the last two digits of 3203^{20}.

  • 7. Find the least n>0n>0 for which 2n2^n is divisible by 3232 but not 6464.

  • 8. Find the remainder of 1+2+⋯+1001+2+\cdots+100 upon division by 77.

  • 9. Find the least positive integer congruent to 2(mod5)2\pmod5 and 3(mod7)3\pmod7.

Divisibility Practice Problems — Hard