Anonymous Christian

  • Facebook
  • Google
  • SoundCloud
  • STAY CONNECTED

  • HOME
  • ABOUT US
  • BLOG
  • E-BOOKNEW
    • Other New Christian Books
    • Parable of the 5 Wise and 5 Foolish Virgins by Lord Jesus Christ with Church Fathers in First Christianity and Protestant Reformers Martin Luther & John Wesley
    • Almsgiving and Atonement Mystery – Essays in First Christianity Book
    • Lake of Fire – Hope for the Wicked One Day? – Essays in First Christianity Book
    • First Christianity – Thirty Sixty and Hundredfold Mystery Book
    • Book of 1Enoch – Christ Centered Universalism Mystery – Essays in First Christianity
    • Lost Orthodoxy (Paternal Light – Heart of the Gospel through the Eyes of the Kings of Christian Theology) St. Justin Martyr and St. Irenaeous of Lyons
    • Saviour of The World Book
  • AUDIO
  • LYRICS
  • GALLERY
    • PHOTO
    • VIDEO
  • CONTACT US

OUR BLOG

  • For how many whole numbers between 0 and 1000 does the sum of the digits equal 9 ?

    Anonymous Christian
    Sep 5, 2014
    MATH, Math Olympiad
    Comments Off on For how many whole numbers between 0 and 1000 does the sum of the digits equal 9 ?

    Answer

    Let your whole number be ‘X’. Now,
    0 < X < 1000 means that your numbers are either 3 digit, 2 digit and 1 digit. We consider each case seperately.

    Case 1. ( 1 digit )

    I believe its obvious that only ‘9’ fits the criteria.

    Case 2 ( 2 digit number )

    In this case let X = ‘ab’ = 10a + b in decimal notation or base 10, where a and b are integers between 0 to 9.
    so, a + b = 9 implies b = 9 – a and put this for X,
    X = 10a + b
    = 10a + 9 – a
    = 9a + 9
    = 9*( a + 1 )

    In other words any ‘digit value of a’ gives a required X which is a ‘multiple of 9 form’. Let a = 1,2 … 9 to get,
    X = 9* ( a + 1)
    = 18, 27, 36, 45, 54, 63, 72, 81 ,90
    In other words, the only two digit numbers whose sum of digits equal to ‘9’ are the ‘multiples of 9’. Note that a does not equal to zero because in that case, it will ‘degenerate’ to making X a ‘one digit number’. We have 9 two digit numbers that satisfy our problem.

    Case 3 ( 3 digit number. )

    X = 100a + 10b + c, in base 10 as before. We proceed similarly as in Case 2.
    a + b + c = 9, thus c = 9 – a – b, so
    X = 100a + 10b + ( 9 – a – b )
    = 99a + 9b + 9
    = 9* ( 11a + b + 1)

    We see that X is a multiple of 9 again. The question is , is it all multiples of 9 or just some selected ones?

    Lets proceed “slightly different”. Consider the equation :
    a + b + c = 9. We count the “number of valid” solutions. We can do this because there is a “limited” range of values for which a,b, and c can take since being the digits of numbers in base 10, they are limited to values in the interval [0,9].

    If a = 9, forces b=c =0. [ 1 solution here ]
    If a = 8, b + c = 1, (b,c) = (1,0) or (0,1) [ 2 Solutions here ]
    If a =7. b+c = 2, (b,c) = (0,1)… you can go on like this but there must be a “smarter way” to look at it instead of just listing out all possibilities…

    Indeed we want to count the number of solutions for
    a+b+c =9 for a,b,c in [0,9]. Instead of indulging deep into generating functions… we use the “theorem below”.

    For x(1) + x(2) + … x(k) = m. where k & m are positive integers, the number of solutions in positive integers is :
    C( m – 1, m – k ) = (m -1)! / [( m – k )! * ( k – 1)! ]. Note that x(1) is variable 1, x(2) is variable 2 etc.

    And, n! = n x (n -1) x (n -2)x … 2 x 1

    The “theorem” above only deals with “positive integers” in its indicies but we have “zero as a possible answer as well”.

    Therefore we find first “positive integer solutions” and count the number “solutions which have one of a,b,c = 0” later.

    Number of positive integer solutions for a+b+c=9 means that in the above, k = 3 & m = 9. Thus the number of solutions is just = C( m – 1, m – k ) = C( 8, 6 )= (m -1)! / [( m – k )! * ( k – 1)!
    =[ 8! ] / [ 6! * 2! ] = 56/2 = 28. That is there are 28 solutions in positive integers implying 28 three digit numbers in this case.

    What about the case where “zero is included” or equivalently, “one of a,b,c = 0?”. Since a CANNOT equal to zero ( being the first digit ), thus we have three sub cases, namely, either b = 0 or c = 0 or BOTH b AND c = 0.

    Sub case 1 ( b = 0 ).
    If b = 0, a + c = 9. In the theorem above, since a & c are positive integers, set m = 9 and k = 2 to obtain the total number of solutions = C( m – 1, m – k ) = C ( 8, 7 ) = 8. Thus we have 8 solutions in here yielding eight 3 – digit numbers.

    Sub case 2 ( c = 0 )
    If c = 0, a + b = 9. In the theorem above, since a & b are positive integers, set m = 9 and k = 2 to obtain the total number of solutions = C( m – 1, m – k ) = C ( 8, 7 ) = 8. Thus we have 8 solutions in here yielding eight 3 – digit numbers.

    Sub case 3 ( b & c = 0 )
    a + b + c = 9 gives, a = 9, the “only possibility”. Thus we have one solution in here.

    Hence giving a total of = 8 + 8 + 1 = 17 three digit numbers when one of b & c is zero.

    So, for the three digit number case we have
    28 + 17 = 45 integers that satisfy our condition of the problem.

    To conclude,

    1 Digit number. 1 answer.
    2 Digit numbers. 9 asnwers.
    3 Digit numbers. 45 answers.

    Total number of whole numbers between 0 and 1000 whose sum of the digits equal 9 is 1 + 9 + 45 = 55 integers.

anonymous-christian

Jonathan Ramachandran is founder at AnonymousChristian.org which serves as a Christian Blog discussing the Greater Hope of Biblical Christian in Christ Alone. He is also an IMO (International Math Coach) and a featuring Guitarist for many bands.

Advertisement

Recent Posts

  • Did you know – First Christianity Chiliasm Possibility
  • New Book titled Education for Daily Life
  • Dialogues – FAQ and Doctrine to Possibilities
  • Bible and Church Fathers Quotes for Charity Doctrine
  • Water of Life – Two References 1000 years Apart in Chiliasm Timeline and meaning of Unsaved with the Shepherd of Hermas, St. Papias and St. Irenaeous

Search

Advertisement

Categories

  • ages of Ages (22)
  • AIMO (4)
  • AMC (1)
  • APMO (3)
  • Apostolic Fathers (7)
  • ASMO (2)
  • Book of Enoch (7)
  • Calculus (2)
  • Charity (14)
  • ChiliasmBook (1)
  • Christian Leaders (46)
  • Earning Salvation Fallacy (3)
  • Fatherless and Orphans (13)
  • First Christianity (55)
  • Foreigner (1)
  • Forever (11)
  • Free Choice (17)
  • Gehenna (21)
  • GMC (2)
  • Godliness (2)
  • Gospel Hope for Non Christians (77)
  • Hate and Love (9)
  • Head Covering (5)
  • Heavens Definition in First Christianity (20)
  • Holy Bible Aionion Edition (12)
  • Hundredfold Mystery (4)
  • ICAS (1)
  • IJMO (1)
  • IMC (1)
  • IMO (11)
  • Jewish Hell (11)
  • Justice Human Law (3)
  • KBAT/HOTS (1)
  • KMC (3)
  • Lake of Fire (21)
  • LGBT (2)
  • Marriage (8)
  • Math (174)
  • Math Olympiad (154)
  • Math Olympiad Classes (11)
  • Math Olympiad Primary (11)
  • Math Olympiad Secondary (10)
  • Millennial Reign (9)
  • Money Matters (11)
  • Music (1)
  • Non Elect Salvation (8)
  • Old Testament (6)
  • OMK (14)
  • Parent Children Duty (2)
  • PMONK (4)
  • Poem (1)
  • Preterism (1)
  • Probability (3)
  • Purgatorial Hell Universalism (35)
  • Puzzle (12)
  • Rapture (3)
  • Reason (1,799)
  • Recapitulation (7)
  • Repentance Afterlife (13)
  • Sabbath and Tithes (5)
  • Sadhu Sundar Singh (3)
  • Saints (6)
  • SASMO (4)
  • Shadow of Death (10)
  • Shepherd of Hermas (13)
  • Sibyline Oracles (9)
  • Singapore Maths (3)
  • Slavery (1)
  • SMOPS (2)
  • Spirit World Visions (9)
  • Statistics (1)
  • Testimony (6)
  • Theology (1,665)
  • Tree of Life (3)
  • Trinity (4)
  • UKMT (1)
  • Uncategorized (7)
  • Unconditional Love (14)
  • Understanding Evil (5)
  • Videos (1)
  • Water of Life (4)
  • Wicked Spirit Saved (15)
  • Women (5)
  • Zionism (6)
© Copyright 2014 - 2022 Anonymous Christian | All Rights Reserved.