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

Home > Just Math
Digit Sum Dilemma (Posted on 2024-09-15) Difficulty: 3 of 5
Let s be the smallest positive integer with the property that its digit sum and the digit sum of s + 1 are both divisible by 19. How many digits does s have?

No Solution Yet Submitted by Danish Ahmed Khan    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution | Comment 1 of 3
Our number s is composed of a left portion and a right portion.
The right portion is a string of 9s, and call the number of 9s "k".
The left portion is an integer which does not end in 9.

The sod(s) - sod(s-1) = 9k - 1 which is 0 mod 19
The smallest k that works is 17.
A string of 17 9s has an sod of 153 which is 1 mod 19.
The left portion must have an sod of 18 (and not end in 9), the smallest such integer is 198.

s = 19899999999999999999

  Posted by Larry on 2024-09-15 15:57:42
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 (14)
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