Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2006-12-27 04:15:55

er.neerajsrivastava
Member
Registered: 2006-12-27
Posts: 9

285714!

what is the fastest way to compute???(i.e. factorial of 285714)???

Last edited by er.neerajsrivastava (2006-12-27 04:16:54)

Offline

#2 2006-12-27 04:25:36

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

He he!
Joke, right?


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#3 2006-12-27 04:29:25

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

It has more than a million digits!
But...
Using Mathematica I get it for 1.734 seconds smile

Last edited by krassi_holmz (2006-12-27 07:43:06)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#4 2006-12-27 05:24:50

Toast
Real Member
Registered: 2006-10-08
Posts: 1,321

Re: 285714!

If you want an fast approximation, but not an exact answer, use Stirling's Formula:


Where n is the number you want the factorial of, and e is euler's number ≈ 2.7182
The approximation gets more accurate the larger the value of n.

Offline

#5 2006-12-27 05:40:11

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

Yep, Toast is correct.

It's a very well known James-Stirling formula. Like Toast said.

Offline

#6 2006-12-27 07:44:44

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

But in some cases, an accurate result is needed.
er, could you tell us what do you need it for?


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#7 2006-12-27 09:34:08

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

Finding the factorial of 285714 does seem a little awkward to be a homework question. Maybe it isn't being used for mathematics.

Or maybe it was just something random that er.neerajsrivastava picked out or the random mist of randomness.

Offline

#8 2006-12-27 09:47:03

MathsIsFun
Administrator
Registered: 2005-01-21
Posts: 7,711

Re: 285714!

Not entirely random. 2/7 = 0.285714...

Great Answers, Guys!


"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

#9 2006-12-27 09:51:50

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

Hmm, didn't notice that, well spotted. smile

Offline

#10 2006-12-27 12:10:45

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

Yep. Rod has an eye! what
I was just trying to post that.

Last edited by krassi_holmz (2006-12-27 12:11:25)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#11 2006-12-28 10:16:05

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

Maybe er.neerajsrivastava is doing some sort of experiment on finding the factorials of irrational/rational/recurring digits. Or something like that.

Offline

#12 2006-12-28 17:10:44

er.neerajsrivastava
Member
Registered: 2006-12-27
Posts: 9

Re: 285714!

thanks guys it helped me a lot but one more thing puzzled me ? the significanse of 2/7 ? well it is not a random one.

Offline

#13 2006-12-29 00:20:54

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

yep. What kind if relation are you looking for?


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#14 2006-12-29 06:58:38

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

This 'Mathematica'...is it free? It sounds like a good program.

Offline

#15 2006-12-29 07:20:06

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

Nope.
It would be cool if it was.
I have it as a kind of present. It helps me much for some problems.
But there exist many free math programs - I've had a link somewhere - and some of them are even better than mathematica in some cases.


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#16 2006-12-29 07:27:37

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

Oh, that's a bit of a drag, it would've been good to have that program.

Thanks for the information, I will be looking for some good math programs.

Offline

#17 2006-12-29 07:31:27

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

Some links:
Mathematica Wikipedia (I like this description):
http://en.wikipedia.org/wiki/Mathematica
Maple (currently the bigger competitior):
http://en.wikipedia.org/wiki/Maple_comp … bra_system
A list:
http://en.wikipedia.org/wiki/List_of_co … ra_systems


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#18 2006-12-29 07:46:25

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

That's extremely useful, thanks. smile

Offline

#19 2006-12-29 07:49:43

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

for nothing.


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#20 2006-12-29 07:55:07

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

I remember seeing an image you posted, did you use Maple for it? I saw a similar image from WikiPedia.

Offline

#21 2006-12-29 08:16:14

krassi_holmz
Real Member
Registered: 2005-12-02
Posts: 1,905

Re: 285714!

Which Image?
If it's some kind of a graph of a function, then it should be Mathematica.
I've posted Maple images only 1 ro 2 times.

Last edited by krassi_holmz (2006-12-29 08:17:38)


IPBLE:  Increasing Performance By Lowering Expectations.

Offline

#22 2006-12-29 08:27:31

Devantè
Real Member
Registered: 2006-07-14
Posts: 6,400

Re: 285714!

Yes, it's the graph of a function coloured blue.

Offline

#23 2008-01-19 00:49:04

manoj
Guest

Re: 285714!

shame

Devantè wrote:

Finding the factorial of 285714 does seem a little awkward to be a homework question. Maybe it isn't being used for mathematics.

Or maybe it was just something random that er.neerajsrivastava picked out or the random mist of randomness.

#24 2008-01-19 05:21:30

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: 285714!

Is 10^4486550 close to right using Stirlings?  I punched in log to simplify in calculator and then
said it was 10 up that amount later.

My cheap calculator says:  10^4486549.428, oh but I retyped in a #, so off a little, instead
of using parenthesis.

Last edited by John E. Franklin (2008-01-19 05:25:52)


igloo myrtilles fourmis

Offline

Board footer

Powered by FluxBB