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

Home > Just Math
Number Count Conclusion (Posted on 2015-04-15) Difficulty: 3 of 5
sod(N) denotes the sum of the base ten digits of N.

N is a 5-digit base ten positive integer divisible by 15, and sod(N) =15

Determine the total count of the values of N for which this is possible.

See The Solution Submitted by K Sengupta    
Rating: 4.0000 (2 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Analytics only get you so far | Comment 2 of 4 |
Well, if sod(N) = 15, then N is automatically divisible by 3.
So, all we need is sod(N) = 15 and N divisible by 5.

In other words, all we need is sod(N) = 15 and N ending in 0 or 5.
This is the same as counting the number of 4 digit numbers with sod = 10 + the number of 4 digit numbers with sod = 15.

But the number of 4 digit numbers with sod = 10 equals the number of 3 digit numbers with SOD between 1 and 10.
And the number of 4 digit numbers with sod = 15 equals the number of 3 digit numbers with SOD between 6 and 15.

So we need 
(the number of 3 digit numbers with sod between 1 and 5) +
2*(the number of 3 digit numbers with sod between 6 and 10) +
(the number of 3 digit numbers with sod between 11 and 15)

Nothing especially brilliant occurs to me now.

I counted Charlie's solution to get 35 + 2*184 + 335 = 738

  Posted by Steve Herman on 2015-04-15 19:05:17
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 (15)
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