Math Problem 20

  • Thread starter Thread starter nitrocan
  • Start date Start date
Is it 99*(99!) or (99*99)! ?

The first one.

Well ... 99! = 99x98x97... 99 times that makes (99x99) x (98x99) x (97x99) x ...

Then 98! = 98x97x ... x98 = (98x98) x (98x97) x ...

Am I on the right track?

If you go like that, it'll take your life.

It's not meant to continue like that, I would find the factorial of every number up to 99 and see what the last digit is, if it adds to 9 the second digit, etc..
 
Oh my god. Stop using a calculator. It won't help you the smallest bit.

Is it 99*(99!) or (99*99)! ?

The first one.

Well ... 99! = 99x98x97... 99 times that makes (99x99) x (98x99) x (97x99) x ...

Then 98! = 98x97x ... x98 = (98x98) x (98x97) x ...

Am I on the right track?

If you go like that, it'll take your life.

It's not meant to continue like that, I would find the factorial of every number up to 99 and see what the last digit is, if it adds to 9 the second digit, etc..

What if it had like 100 9's?
 
NITROCAN DONT GIVE ANY HINTS PLEASE, it would take away all the fun.. yes.. i just said fun :P
 
x*x! = (x+1)!-x!

(1*1!)+(2*2!) = 2!-1!+3!-2! = -(1!)+3!

-(1!)+3!+(3*3!) = -(1!)+3!+4!-3! = -(1!)+4!

1*(1!) + 2*(2!) + 3*(3!) + 4*(4!) + ..... + 99*(99!) = -(1!)+100! = 100!-1

I have no idea how to extract digits nor to prove ifthis was right.
 
Last edited:
x*x! = (x+1)!-x!

(1*1!)+(2*2!) = 2!-1!+3!-2! = -(1!)+3!

-(1!)+3!+(3*3!) = -(1!)+3!+4!-3! = -(1!)+4!

1*(1!) + 2*(2!) + 3*(3!) + 4*(4!) + ..... + 99*(99!) = -(1!)+100! = 100!-1

I have no idea how to extract digits nor ito prove this was right.

This question is all about proving that what you stated is right, lol.

@BigSams: Why do you act as if what you said is weird, maths is fun :D
 
math is fun, but then there are people who would try to run us over with a truck for saying that. so i added an extra bit of defiance xD
 
Oh my god. Stop using a calculator. It won't help you the smallest bit.

Is it 99*(99!) or (99*99)! ?

The first one.

Well ... 99! = 99x98x97... 99 times that makes (99x99) x (98x99) x (97x99) x ...

Then 98! = 98x97x ... x98 = (98x98) x (98x97) x ...

Am I on the right track?

If you go like that, it'll take your life.

It's not meant to continue like that, I would find the factorial of every number up to 99 and see what the last digit is, if it adds to 9 the second digit, etc..

What if it had like 100 9's?

Then it might take, say, at 20 seconds a digit, 2000 seconds? About 20 minutes?
 
you know what..? im just going to go write a program to solve this. would that be cheating?
 
Hmmm...
Why aren't the usual math people answering this?
Nitrocan, have you solved it yet yourself?
I don't think calculator is useful here. If you must use a program, Excel is probably better than calculator, but that probably won't help either.
I'll think about this.

Edit:
Is it 3?
I got 20922789887999
For sum up to 15th term, then added up the 4th digits up to 18th term and there weren't any more 9's produced.
Solution using Openoffice.org Calc. I can't afford MS Excel. :P

Edit2:
I think Tim is right.
 
Last edited:
Hmmm...
Why aren't the usual math people answering this?
Nitrocan, have you solved it yet yourself?
I don't think calculator is useful here. If you must use a program, Excel is probably better than calculator, but that probably won't help either.
I'll think about this.

Yes I have the answer.
 
Let f(n)=1*1!+2*2!+...+n*n!. Let's prove by induction that f(n)=(n+1)!-1
We have 1*1! = 2!-1 as a base case. Assume that f(k)=(k+1)!-1 for some k. Then f(k+1)=f(k)+(k+1)*(k+1)!=(k+1)!-1+(k+1)*(k+1)!=(k+1)!(1+k+1)-1=(k+2)!-1, completing the induction. Thus f(99)=100!-1. 100! ends in a bunch of zeros, the number of zeros is exactly the highest k such that 5^k goes into 100!. 100! contains the numbers 5,10,15,20,...,95,100, all of which are divisible by 5, with 25, 50, 75, 100 divisible by 25. Thus there's 24 zeros at the end of 100!. So f(99)=100!-1 ends in 24 9's.

Oh, and excel's not going to help at all, it'll round the number. If you need to use a program, mathematica =P or something else that won't give you large roundoff errors.
 
ok so i wrote the program but the stupid thing writes the final input in scientific form.. but then i noticed a pattern

SPOILERS

the 4th value has one 9 in it, and 4 is 3 away from 1
the 9th value has two 9 in it, and 9 is 5 away from 4
so.. it must go up by an odd number each time another 9 is added, sorry i dont know how to say this!
the numbers at which another 9 is added are:
1 + 3 = 4
4 + 5 = 9
9 + 7 = 16
16 + 9 = 25
25 + 11 = 37
37 + 13 = 50
50 + 15 = 65
65 + 17 = 77
77 + 19 = 96

96 + 21 is more than 99 so anything more than this doesnt count
so in total there are 9 times another 9 is added
therefore there are 9 nines


then again, i could have picked up a wrong pattern
 
Back
Top