All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers > Sequences
Summing Consecutive Terms and Pair Determination (Posted on 2015-11-21) Difficulty: 3 of 5
The sequence S1, S2, S3, ..... is defined by:

Sk = 1/(k2 + k), for k=1,2,.....

Find M and N, given that:

SM+ SM+1+ .....+SN = 1/29

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution Comment 3 of 3 |
   10   for Strt=1 to 100
   20     Low=1//(Strt^2+Strt)
   30     Tot=Low
   40     Fin=Strt+1
   50     loop
   60         High=1//(Fin^2+Fin)
   70         Tot=Tot+High
   80         if Tot>1//29 then goto *Outtahere
   90         if Tot=1//29 then print Strt,Fin:end
  100         Fin=Fin+1
  110     endloop
  115   *Outtahere
  120   next

finds 28 and 811 for M and N respectively.

  Posted by Charlie on 2015-11-21 13:11:45
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (9)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information