MIT 6.00 Intro Computer Science (OCW) 32 Online
OpenStudy (anonymous):

1,2,4,8,16 what is the formula that would give the value of nth location in sequence? anybody?

OpenStudy (anonymous):

2^(n-1) 2^0 = 1 2^1 = 2 2^2 = 4 If you're using zero indexing (if the first item in the sequence is item 0) then it's just 2^n.

OpenStudy (anonymous):

the first location (that gives the value 1) is location 0. continue from the question.

OpenStudy (anonymous):

how do you get the formula?

Latest Questions
kimberlysaavedra: Sea world pics
34 minutes ago 8 Replies 1 Medal
luvnickk: heyyy
4 hours ago 4 Replies 0 Medals
kimberlysaavedra: DOLPHIN
13 hours ago 24 Replies 0 Medals
ShikuniShigana: Am halfway yall, this the redrawn version of the original post i did
1 hour ago 23 Replies 2 Medals
xXAikoXx: I wanna cry so bad
7 hours ago 30 Replies 2 Medals
kimberlysaavedra: guyss its my birthday tomorrow!!!!!! 8-4-2008
8 hours ago 16 Replies 1 Medal
TarTar: If you could go back to any year what would you pick and why
3 hours ago 26 Replies 3 Medals