Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Factorial Sum

  1. Dec 1, 2006 #1
    Here is a sum from MATHCOUNTS:

    What are the last two digits in the sum of the factorials of the first 100 positive integers?

    From 1! to 4! you can add the units digits, since 5! to ... have 0 in their units place.

    From that I get 13, and I carry over the 1 over to the next column and add the tens digits of 1! to 9! since 10! to ... have 0 in their tens and units place.

    I got 73, but the answer key says 13. Can someone please help me? thx
     
  2. jcsd
  3. Dec 1, 2006 #2
    So [tex] \sum_{n=1}^{100} n! [/tex]


    [tex] 0!: 01 [/tex]

    [tex] 1! : 01 [/tex]

    [tex] 1!+2!: 03[/tex]

    [tex] 1! + 2! + 3!: 09[/tex]

    [tex] 1!+2!+3!+4!: 33 [/tex]

    [tex] 1!+2!+3!+4!+5!: 53 [/tex]

    Can you see a pattern?

    Go up to [tex] 9! [/tex] because [tex] \sum_{n=1}^{10} n! [/tex] has the last two digits [tex] 00 [/tex]. Therefore [tex] \sum_{n=1}^{\19} n! [/tex] has last two digits [tex] 13 [/tex] as does [tex] \sum_{n=1}^{100} n! [/tex]
     
    Last edited: Dec 1, 2006
  4. Dec 2, 2006 #3

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    I presume you meant to say that 10! has last two digits 00, not [tex] \sum_{n=1}^{100} n! [/tex].
     
  5. Dec 2, 2006 #4
    1! = 1
    2! = 2
    3! = 6
    4! = 24
    5! = 120
    6! = 720
    7! = 5040
    8! = ...20 (the dots stand for some digits, but I didn't calculate them, since I am only interested in the last two digits)
    9! = ...80
    10! = ...800

    Which numbers in the sum of factorials contribute to the last digit? It's
    1! = 1
    2! = 2
    3! = 6
    4! = 24
    the other numbers have 0 as their last digit.
    Thus, the last digit of our factorial sum is 3 because 1+2+6+24=33

    Which numbers in the sum of factorials contribute to the "10" digit (the digit left to the last digit)?
    It's

    5! = 120
    6! = 720
    7! = 5040
    8! = ...20
    9! = ...80

    AND the 33 (= sum from 1! to 4!)

    I wrote down the relevant numbers again and behind the numbers their "10" digit in brackets:

    5! = 120 (2)
    6! = 720 (2)
    7! = 5040 (4)
    8! = ...20 (2)
    9! = ...80 (8)
    33 (3)

    Let us add the numbers in the brackets:
    2+2+4+2+8+3 = 21

    Thus, for you sum of factorials the "10" digit is:
    1
     
  6. Dec 2, 2006 #5

    X=7

    User Avatar

    Hi HallsofIvy. I think you've misread courtrigrad's post. It (correctly) says that the sum to 100 has last two digits 13.

    Best wishes

    X = 7
     
  7. Dec 4, 2006 #6
    I know this sounds dumb, but Im sorry, I dont see the pattern...
     
  8. Dec 4, 2006 #7

    CRGreathouse

    User Avatar
    Science Advisor
    Homework Helper

    Did you calculate them out, or are you just looking at the above? I suggest you calculate the (last two digits of) the factorials from 1 to 10, then find the sums of those. The pattern should be obvious.
     
  9. Dec 5, 2006 #8
    Sorry guys... I reworked it and found out I made a mistake... The answer was 71 (taking the last 2 digits of the sum).
     
  10. Aug 2, 2010 #9
    It's natural that the last few digits of of the sum of the factorials 1!+2!+3!+..should be the same. The succeeding terms of the series have all zeros (the number of zeroes depending on how many times 2 and 5 appear in the prime factorization of n!) and so do not affect the first digits of the sums representation.
     
  11. Aug 17, 2010 #10
    1!+2!+3!......50!=
    wats the answer guys help me out.....
     
  12. Aug 17, 2010 #11
    31035053229546199656252032972759319953190362094566672920420940313
     
  13. Aug 18, 2010 #12

    Mentallic

    User Avatar
    Homework Helper

    lol ripped
     
  14. Aug 18, 2010 #13

    CRGreathouse

    User Avatar
    Science Advisor
    Homework Helper

    necroposted!
     
  15. Aug 18, 2010 #14

    Mentallic

    User Avatar
    Homework Helper

    At least he can use the search button! So they kind of cancel each other out in a way.
     
  16. Aug 19, 2010 #15
    What grade did you guys say you were in?
     
  17. Aug 20, 2010 #16

    Mentallic

    User Avatar
    Homework Helper

    We didn't :tongue:
     
  18. Mar 10, 2012 #17
    How to find out number of digits in 1!+2!+3!........+100!?
     
  19. Mar 10, 2012 #18

    chiro

    User Avatar
    Science Advisor

    Hey piyushon2411 and welcome to the forums.

    For this problem in base b you need to calculate log_b(z) = ln(z)/ln(b) where b is the number of possibilities in each digit. Round up if you have a fractional part in your answer.

    The z is your expression 1!+ 2! + 3! + ... blah

    What you should realize is that for this problem you only need to evaluate the highest term which is 100!.

    Using properties of logs you can use the property log(ab) = log(a) + log(b) which means the answer for this problem is:

    log(1) + log(2) + .... log(100) from 1 up to 100 like the sum suggests.
     
  20. Mar 10, 2012 #19
    The answer IS 13. I think you miscounted the 10s. I get 8+2+4+2+2+2
     
  21. Mar 15, 2012 #20
    Hey chiro, thanks for the solution,
    i doubt that i got it fully ,can u please explain wt u did after we consider just 100! to get the number of digits,thanks in advance



    For the above problm to get the last 2 digits,
    going by the conventnl method, last 2 digits from 1 to 9 factorial goes like
    01+02+06+24+20+20+40+20+80= 13 in the last 2 digits
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Factorial Sum
  1. Factorial of infinity (Replies: 1)

  2. Factorials of Fractions (Replies: 16)

  3. Inverse Factorials (Replies: 13)

Loading...