Last visit was: 16 Aug 2026, 00:10 It is currently 16 Aug 2026, 00:10
Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 16 Aug 2026
Posts: 112,717
Own Kudos:
834,586
 [9]
Given Kudos: 110,877
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 112,717
Kudos: 834,586
 [9]
3
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
User avatar
gmatcafe
Joined: 27 Sep 2020
Last visit: 25 Nov 2022
Posts: 182
Own Kudos:
302
 [3]
Given Kudos: 97
Location: Uzbekistan
Concentration: Finance, Strategy
GPA: 3.73
WE:Consulting (Consulting)
Posts: 182
Kudos: 302
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
OnePieceIsReal
Joined: 21 Jun 2026
Last visit: 09 Aug 2026
Posts: 2
Given Kudos: 5
Posts: 2
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
User avatar
egmat
User avatar
e-GMAT Representative
Joined: 02 Nov 2011
Last visit: 15 Aug 2026
Posts: 6,214
Own Kudos:
33,818
 [1]
Given Kudos: 714
GMAT Date: 08-19-2020
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 6,214
Kudos: 33,818
 [1]
1
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi OnePieceIsReal,

Welcome, and since you asked to be corrected, there is a small mistake here: your answer is right, but the road you took to it isn't. That deserves more of your attention than a wrong answer would, because a method that accidentally works is a method you'll trust again.

Your first move is the real insight, though. Since 0+1+2+...+9 = 45, the digits have to sum to the whole set. Hold onto that.

The correct route, in two steps

Step 1 - find every digit set that sums to 45. There are two, not one. The full set {0,1,...,9} sums to 45, and so does {1,2,...,9}, because dropping the 0 costs nothing. Remove any other digit and the sum falls short. So two families of numbers qualify.

Step 2 - count each family, and never let 0 lead.

- Using all ten digits: total arrangements are 10!, but the ones with 0 in front aren't 10-digit numbers at all. Fix 0 in the lead and arrange the other nine: 9! of those. Valid count = 10! - 9!.
- Using {1,...,9}: no 0 in the pool, so every arrangement is a legal 9-digit number: 9!.

Total = (10! - 9!) + 9! = 10!, choice A.

Why your two mistakes hid each other

You counted the leading-zero strings you should have discarded, and you skipped the 9-digit family you should have added. Each group has exactly 9! members, and that's no coincidence: take any discarded string, delete its leading 0, and what's left is one of those 9-digit numbers. One-to-one, both directions. Your two errors were the same size, so they cancelled and the total still read 10!.

The habit to build

Whenever 0 sits in your digit pool, one question comes first, every time: can 0 take the lead? Quick test - how many 2-digit numbers use each of {0, 1} exactly once? It looks like 2x1 = 2, but 01 is just 1. Only 10 qualifies, so the answer is 1.

Your instinct on the digit sum was excellent. Now make that leading-zero check automatic.

Answer: A

OnePieceIsReal
This is the first time I am giving a solution to a problem, pls correct me if I am wrong
as the digits must not repeat and also the sum of digits is 45,

If we add the digits 0-9, the sum is 45, thus all the digits can be used therefore, no of ways of forming digits-
For first digit- 10 ways
For 2nd-9 ways
For 3rd-8 ways
For 4th- 7 thus upto last will be 1, multiplying all give us 10¡ as answer.
User avatar
OnePieceIsReal
Joined: 21 Jun 2026
Last visit: 09 Aug 2026
Posts: 2
Given Kudos: 5
Posts: 2
Kudos: 0
Kudos
Add Kudos
Bookmarks
Bookmark this Post
I have a doubt, why zero cannot be in the lead, since we don’t have the condition of the no. Of digits to be fixed, so in the case where zero will be in lead will simply be unique 9 digit numbers while where zero is not in lead will be 10 digit numbers.
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 16 Aug 2026
Posts: 112,717
Own Kudos:
Given Kudos: 110,877
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 112,717
Kudos: 834,586
Kudos
Add Kudos
Bookmarks
Bookmark this Post
OnePieceIsReal
I have a doubt, why zero cannot be in the lead, since we don’t have the condition of the no. Of digits to be fixed, so in the case where zero will be in lead will simply be unique 9 digit numbers while where zero is not in lead will be 10 digit numbers.
A leading zero does not create a different number. For example, 0123456789 is simply 123456789. No one writes an integer with a leading zero.
User avatar
egmat
User avatar
e-GMAT Representative
Joined: 02 Nov 2011
Last visit: 15 Aug 2026
Posts: 6,214
Own Kudos:
Given Kudos: 714
GMAT Date: 08-19-2020
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 6,214
Kudos: 33,818
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Hi OnePieceIsReal, your reasoning in this post is correct, and it is actually a cleaner route than the two-family count I posted earlier. Let me confirm it and then name the one condition it rests on.

Bunuel's line above is the same fact you started from: 0123456789 is not a new ten-digit number, it is just 123456789. Where your post goes further is in seeing what that means for the count. Because the question never fixes how many digits the number must have, the leading-zero arrangements are not waste. They are the nine-digit numbers built from {1, ..., 9}.

Why your total and mine have to agree. Take all 10! arrangements of {0, 1, ..., 9} and split them in two:
  • 0 not in front: these are 10! - 9! genuine ten-digit numbers.
  • 0 in front: 9! strings, and deleting the leading 0 turns each one into a nine-digit number from {1, ..., 9}. Every such nine-digit number shows up exactly once this way, so nothing is double counted and nothing is missed.
So the 10! arrangements line up one-to-one with the numbers the question asks for. My earlier post counted the same two families separately and added them, (10! - 9!) + 9! = 10!. Your route and mine are the same count read in two different orders.

The condition to hold onto. Your slot count (10 choices for the first digit, then 9, then 8, and so on) is safe here only because the length is free. Suppose the question had asked for ten-digit numbers with distinct digits summing to 45. Then the leading-zero strings would have to be thrown out with nothing to add back, and the answer would be 10! - 9!, not 10!. Same digits, same sum, different count.

So the habit is one question, asked before you count: is the number of digits fixed? If it is, leading zeros are simply discarded. If it is not, ask what shorter numbers they become, exactly as you did here.

Well spotted.

OnePieceIsReal
I have a doubt, why zero cannot be in the lead, since we don’t have the condition of the no. Of digits to be fixed, so in the case where zero will be in lead will simply be unique 9 digit numbers while where zero is not in lead will be 10 digit numbers.
Moderator:
Math Expert
112717 posts