View Single Post
  #7  
Old 11-04-2007, 10:38 AM
soon2bepro soon2bepro is offline
Senior Member
 
Join Date: Jan 2006
Posts: 1,275
Default Re: maths problem for DS

[ QUOTE ]
Break it down into the steps you made and the reasoning behind them.

[/ QUOTE ]

Ok, first I made a list of n and the result up to n11, calculating each result independently.

It looked like this:

1 | 1
2 | 3
3 | 6
4 | 10
5 | 15
6 | 21
7 | 28
8 | 36
9 | 45
10 | 55
11 | 66

Then I tried to spot some pattern in them. Some formulae that would work for all of them, depending on n of course. I started finding patterns until about 5 minutes after starting I got the whole deal and broke it down into the math.

At first I noticed that the odd numbers's result was a multiple of n. for 1, it was 1. for the second odd number, 3, it was 2. For 5, it was 3, and so on. Then I noticed that 1.5, 2.5 etc, worked for the even ones. It was all pretty simple from there.
Reply With Quote