Sunday, September 12, 2010

Blog 2

ugh....really not feeling all that well, so this probably won't be "top notch" as you may say.....but here it goes

part a) the sum of the first n integers of a bunch of numbers and all that in which I don't know how to word this the right way and all that jazz? it sounds pretty easy to do, so I guess I'll get crackin.
n = 1 : 1
n = 2 : 3
n = 3 : 6
n = 4 : 10
n = 5 : 15
n = 6 : 21
n = 7 : 28
n = 8 : 36
n = 9 : 45
n = 10 : 55

part b) there's definitely a pattern. all you have to do is add whichever number of digits you have to the last number's sum. i.e. n=1 is 1, then n=2 is 3, which is basically like saying n=1+2, because you're just adding the main number you're using, it's pretty simple

part c) honestly, I have no idea at all. There probably is, and I wouldn't doubt that there's a formula way out there in the internet or something, but I have no idea what the formula probably is.

part d) whatever that formula may be, it's got to consist of something like n+x, where x is the sum of the past numbers' digits

No comments:

Post a Comment