#In Pascal's triangle the sum of the elements of two consecutive lines is 1536;

18 messages · Page 1 of 1 (latest)

sweet fjordBOT
boreal helm
#

Please, I need aid

light helm
#

Make a function that finds the sum of each line then find one that is around half that number and add it to the one below it

#

Actually that’s really easy to do

boreal helm
#

I do know I that the sum of elements of a single row is 2^n, so you're saying if I find a number that is just below half of 1536, I would find the next sequence?

#

It would work, I believe, but my teacher would not be very happy with the way I did it

#

Okay I have found them; 2^9 + 2^10.

#

I did it by trial and error, and I got it the first time. I don't know if my teacher will appreciate this method, but I do appreciate your insight, thank you

light helm
#

I mean another way is just add 2^n and 2^(n-1) then solve for 1536

boreal helm
#

2^(n-1)?

light helm
#

Yes

boreal helm
#

I'm sorry, I didn't specify that the sequences were consecutive.

light helm
#

Because its the one before 2^n

boreal helm
# light helm Oh

Okay, I got everything.
Thank you for your help.
I will try to do your method just now.
How do I close this channel? This is my first time opening up a channel like this

light helm
#

Say .close

boreal helm
#

.close