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

Home > Numbers
Summing Digits (Posted on 2007-02-26) Difficulty: 3 of 5
Prove that there is a finite number of values of n that satisfy

n = 4s(n) + 3s(s(n)) + 2s(s(s(n))) + 1

where n is a positive integer and s(n) denotes the sum of the digits of n. Also, determine analytically, all values of n that satisfy the equation.

  Submitted by Dennis    
No Rating
Solution: (Hide)
Let s1,s2, and s3 represent s(n), s(s(n)), and s(s(s(n))) respectively. If there exists a four digit number n that satisfies the above equation, then s1 <= 36 --> s1/n < .036. If n has more than 4 digits, the upper bound for s1/n is even smaller.

Assume there exists n with n>999 that satisfies the above equation. So s1/n<.036 But s3<=s2<=s1<.036n --> 4s1+3s2+2s3 < .324n --> n-1<.324n --> n<1.47 which contradicts our assumption. So there are no solutions greater than 999.

Let E=4s1+3s2+2s3+1. If n<1000 then s1<=27 --> s2<=10 --> s3<=9 --> E<=157 --> n<=157 --> s1<=18 --> s2<=9 --> s3<=9 --> E<=118 --> n<=118.

Since a number and and the sum of its digits have the same value mod 9, it follows that n=4n+3n+2n+1 mod 9 --> n=1 mod 9. So we need only consider n values of 1,10,19,28,37,46,55,64,73,82,91,100,109, and 118. But the E values associated with these possibilities are only 10 and 46 --> n=10 and n=46 only.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Some ThoughtsPuzzle Thoughts K Sengupta2023-02-09 03:22:46
Some ThoughtsFirst partFederico Kereki2007-02-27 06:52:52
solutionhoodat2007-02-26 22:58:42
Some ThoughtsCastaways (spoiler)Steve Herman2007-02-26 17:33:40
SolutionsolutionCharlie2007-02-26 16:07:38
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 (21)
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