User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Computer Science and Software Design section within the Software Development category of DaniWeb, a massive community of 391,686 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,209 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Computer Science and Software Design advertiser:
Views: 278 | Replies: 2
Reply
Join Date: Mar 2008
Posts: 17
Reputation: buddy1 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
buddy1 buddy1 is offline Offline
Newbie Poster

function defined on 1..10

  #1  
31 Days Ago
Can anyone tell me if I'm dong this correctly.

S(10) = 1; S(n) = n + S(n + 1) for 0 < n < 10

I'm looking for the value of S(7)

S(10) = 1
S(9) = 9 + S(9 + 1) = 10
S(8) = 8 + S(8 + 1) = 18
S(7) = 7 + S(7 + 1) = 25

S(7) = 25
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2008
Location: New Jersey
Posts: 46
Reputation: chaosprime is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
chaosprime's Avatar
chaosprime chaosprime is offline Offline
Light Poster

Re: function defined on 1..10

  #2  
22 Days Ago
Yeah, that's correct.
Chaos
Lost Souls: text based RPG
MUDseek: MUD gaming search
Reply With Quote  
Join Date: Mar 2008
Posts: 17
Reputation: buddy1 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
buddy1 buddy1 is offline Offline
Newbie Poster

Re: function defined on 1..10

  #3  
22 Days Ago
Thank you!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Computer Science and Software Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Computer Science and Software Design Forum

All times are GMT -4. The time now is 2:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC