All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Odd and Even 2 (Posted on 2015-08-03) Difficulty: 2 of 5
Determine the sum of all 3-digit positive integers which contain at least one odd digit and at least one even digit. (For purposes of the problem, zero is an even digit.)

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Better late than never Comment 5 of 5 |
A. all 3 digit numbers from 100 to 999
how many: 999 - 100 + 1 = 1099
average: (100 + 999)/2 = 450
450*1099 = 494550

B.  all digits odd:
how many: 5*5*5 = 125
avg of each digit is avg{1,3,5,7,9}
average: 555
125*555 = 69375

C.  all digits even:
how many: 4*5*5 = 100
the average of the 1st digit is avg{2,4,6,8}
the average of the other digits is avg{0,2,4,6,8}
average: 544
100*544  = 54400

Required total = A - B - C = 
494550 - 69375 - 54400  =    370775

  Posted by Larry on 2022-11-01 07:02:51
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (5)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information