GRE Quantitative: Divisible Integer Count Practice Questions

Count integers satisfying several divisibility conditions. Work through eight cases, check the reasoning, and revisit the error patterns. This independent practice is free and requires no account.

Free original practice questions for study purposes. Open Exam Prep is an independent study resource and is not affiliated with, endorsed by, or sponsored by the makers of GRE.
Answer the questions below — you get instant feedback and a full explanation for each.
1. How many integers from 1 through 30, inclusive, are divisible by 3 or 4 (or both)?

Explanation. Add floor(30/3) and floor(30/4), then subtract floor(30/lcm(3,4)) because common multiples were counted twice. Therefore the requested value is 15.
2. How many integers from 1 through 40, inclusive, are divisible by 4 or 5 (or both)?

Explanation. Add floor(40/4) and floor(40/5), then subtract floor(40/lcm(4,5)) because common multiples were counted twice. Therefore the requested value is 16.
3. How many integers from 1 through 50, inclusive, are divisible by 5 or 6 (or both)?

Explanation. Add floor(50/5) and floor(50/6), then subtract floor(50/lcm(5,6)) because common multiples were counted twice. Therefore the requested value is 17.
4. How many integers from 1 through 60, inclusive, are divisible by 3 or 7 (or both)?

Explanation. Add floor(60/3) and floor(60/7), then subtract floor(60/lcm(3,7)) because common multiples were counted twice. Therefore the requested value is 26.
5. How many integers from 1 through 40 are divisible by exactly one of 3 and 5?

Explanation. Add both multiple counts, then subtract twice the common-multiple count. A common multiple should contribute zero, unlike a union where it contributes one. Therefore the requested value is 17.
6. How many integers from 1 through 50 are divisible by exactly one of 4 and 6?

Explanation. Add both multiple counts, then subtract twice the common-multiple count. A common multiple should contribute zero, unlike a union where it contributes one. Therefore the requested value is 12.
7. How many integers from 1 through 60 are divisible by exactly one of 5 and 7?

Explanation. Add both multiple counts, then subtract twice the common-multiple count. A common multiple should contribute zero, unlike a union where it contributes one. Therefore the requested value is 18.
8. How many integers from 1 through 70 are divisible by exactly one of 6 and 8?

Explanation. Add both multiple counts, then subtract twice the common-multiple count. A common multiple should contribute zero, unlike a union where it contributes one. Therefore the requested value is 15.
📘 Looking for more study material? Browse GRE prep books and study resources. Some links are affiliate links; we may earn a commission at no cost to you.

FAQ

What should I check before choosing an answer?

Count integers satisfying several divisibility conditions. Counting common multiples more than once is a common error this practice is designed to expose.

Is this an official exam or a score estimate?

No. These are original focused exercises from an independent learning resource. The official curriculum reference identifies the subject scope; these questions are not official exam items and do not predict a scaled score.

Score: 0 / 8
Usage measurement preferences

We measure anonymous page visits, entry sources, visible and active time, and task actions. Draft text and answers stay in your browser. Do Not Track and Global Privacy Control are respected.

Anonymous return visits

When anonymous statistics are enabled, this site stores a random identifier in this browser for up to 60 days to measure return visits on day 7 and day 28 after the first observed visit, using calendar dates in Shanghai time. It is limited to this site and is not a login, fingerprint or cross-site identifier. The service stores a site-specific hash and visit dates for up to 60 days; ordinary event details keep their existing 30-day period. Drafts, answers, names, keywords and raw IP addresses are not added to these statistics.

A copied return link contains only this public page address and a fixed return marker, with other query values and fragments removed. Missing referrers remain unknown. Saved-link returns are counted separately from other anonymous returns. Existing statistics opt-out, saved refusal, Do Not Track and Global Privacy Control are respected. Disabling statistics removes the local return identifier and stops future collection; previously collected aggregates expire under the retention policy.