Microsoft
Software
Hardware
Network
Question : basic question about factorials
Hi
My book hasn't explained factorials very well at all. When you evaluate a factorial, do you keep subtracting 1 until the very last term is 1 so that, for example,
(2n+1)! with n = 3
2(3) + 1 x
2(3) + 1 - 1
2(3) + 1 - 2
2(3) + 1 - 3
2(3) + 1 - 4
2(3) + 1 - 5
2(3) + 1 - 6 <= this is the last term
Or do you do something else
thanks
Answer : basic question about factorials
Yes.
You can evaluate the expression in () first:
(2n+1)! with n = 3 = 7! = 7*6*5*4*3*2*1
Random Solutions
How to re-write code using strings to Delphi 2010
Worldspan - calling worldspan web service
text alignment in footer
Convert Julian date to standard date through Derived Coulmn in SSIS
Windows Mobile ActiveSync Calendar Items do not sync
rdp connection to win xp client on small business 2003 network blocked from outside network
SQL Express - Change DB file path
VBScript: Pulling lastLogonTimestamp
Reference a selected rows column value from a gridview in VB .Net 3.5
Outlook hyperlinks take me to my homepage (not the actual link url