Solution: How Many Positive Integers Less Than 1000 (Counting)

I am not looking for an answer on this. Just need to clarify why my approach is failing –

$N_1 + N_2 + N_3$, i.e. single digit, double digit, 3 digit

single $= 2, 4, 6, 8$, i.e 4

double = X non-zero $= 8 cdot 4 = 32$ X zero $= 9 cdot 1 = 9$

Now the confusing part three digit, breaking into 4 cases

X zero zero $= 9$

X nz nz $= 7 cdot 8 cdot 4 = 224$

X z nz $= 8 cdot 1 cdot 4 = 32$

X nz z $= 8 cdot 9 cdot 1 = 72$

Three digit total comes to $= 9 + 224 + 32 + 72 = 337$. This answer is wrong and it should be $328$. What am I missing in the logic? Please suggest.

You are watching: How many positive integers less than 1000

edited May 6 “18 at 21:57


N. F. Taussig
61.6k1212 gold badges4848 silver badges6767 bronze badges
asked Sep 14 “15 at 21:04


4111 silver badge33 bronze badges
Add a comment |

1 Answer 1

Active Oldest Votes
(I was going to add this as a comment, but it turned out to be too long.)

Here are two alternate ways to handle the 3-digit case:

a) If the last digit is not zero, there are 4 choices for the last digit, 8 choices for the first digit, and 8 choices for the middle digit.

b) If the last digit is zero, there are 9 choices for the first digit and 8 choices for the middle digit.

This gives a total of $4cdot8cdot8+1cdot9cdot8=328$.


1) If the first digit is even, there are 4 choices for this digit, 4 choices for the last digit, and 8 choices for the middle digit.

2) If the first digit is odd, there are 5 choices for this digit, 5 choices for the last digit, and 8 choices for the middle one.

This gives a total of $4cdot4cdot8+5cdot5cdot8=328.$

answered Sep 14 “15 at 21:51


25.8k11 gold badge2323 silver badges5959 bronze badges
Add a comment |

Your Answer

Thanks for contributing an answer to brianowens.tvematics Stack Exchange!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

See more: Cheap Flights Dc To Toronto, Find Washington, Dc To Toronto Flights

Use brianowens.tvJax to format equations. brianowens.tvJax reference.

To learn more, see our tips on writing great answers.

See more: Sodium Chlorate Acid Or Base ? Sodium Chlorate

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Facebook
Sign up using Email and Password

Post as a guest

Email Required, but never shown

Post as a guest


Required, but never shown

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged discrete-brianowens.tvematics or ask your own question.

Featured on Meta
How many even integers between $100$ and $1000$ have distinct digits?
Positive integers less than 1000 without repeated digits
Proof: There are no positive perfect cubes less than 1000 that are the sum of the cubes of two positive integers
How many positive integers smaller than $1000$ and non-divisible by either $2$, $3$ or $5$ are there?
How many bits are needed to represent the integers 3^1000 and 2^1000?
How many $3$ integer subsets have no consecutive integers, where integers are less than $20$?
How many integers between $1$ and $1000$ use exactly three digits?
How many natural numbers less than 1000 are divisible by 2, 3, or 5?
How many even numbers of four distinct digits greater than 5000 are possible
Hot Network Questions more hot questions

Question feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.


Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.10.15.40479

brianowens.tvematics Stack Exchange works best with JavaScript enabled


Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.


Leave a comment

Your email address will not be published. Required fields are marked *