#In Pascal's triangle the sum of the elements of two consecutive lines is 1536;
18 messages · Page 1 of 1 (latest)
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
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
I mean another way is just add 2^n and 2^(n-1) then solve for 1536
2^(n-1)?
Yes
I'm sorry, I didn't specify that the sequences were consecutive.
Because its the one before 2^n
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
Say .close
.close