Welcome to MSDN Blogs Sign in | Join | Help

Do you know everything about Factorials?

When I was in 7th grade at Amity Junior High School in Orange Connecticut, I gave a presentation on Factorial numbers.

 

Here’s some interesting code:

 

 

FOR i = 1 TO 80

      ?i,Factorial(i),SQRT(2*PI()*i)*(i/EXP(1))^i

ENDFOR

 

PROCEDURE Factorial(n)

      IF n=1

            RETURN n

      ENDIF

RETURN n*Factorial(n-1)

 

     

What do the base of natural logs (exp(1) = 2.718281828…), PI (3.14159…) and the square root of 2 have to do with Factorial ?

 

(In case you were wondering, I did not include the transcendental math in my 7th grade presentation)

 

I don’t know everything about the fascinating Factorials!

Published Monday, October 24, 2005 10:02 AM by Calvin_Hsia

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Do you know everything about Factorials?

Monday, October 24, 2005 2:39 PM by Brad Schulz
Gee, and I thought my presentation on "The Fascinating Facets of Nine" (showing all the cool properties of the number 9 and its multiples) was cool in the 7th grade science fair at Carey School in San Mateo, CA (http://www.careyschool.com/).

Thanks for the interesting math tidbit. I read more about Stirling's Approximation at Answers.com: http://www.answers.com/Stirling's%20approximation

# re: Do you know everything about Factorials?

Monday, October 24, 2005 2:53 PM by Ryan Jentzsch
Eeeeeepppp!!! Transendental mathmatics. Everyone run for your lives!!!

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker