Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
24 Online
1,2,4,8,16 what is the formula that would give the value of nth location in sequence? anybody?
Still Need Help?
Join the QuestionCove community and study together with friends!
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.
the first location (that gives the value 1) is location 0. continue from the question.
how do you get the formula?
Can't find your answer?
Make a FREE account and ask your own questions, OR help others and earn volunteer hours!
Join our real-time social learning platform and learn together with your friends!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
Twaylor:
Taking a poll, how many people agree: "If you had 0 groups of " x "and split them between 0 people, how many would each person get?" The variable x, means n
Twaylor:
okay serious topic - if you have 0 groups of zero then you have 0 groups of zero,
22334453:
Do you guys write blogs or forums, do you guys have emails that you send to peopl
DemonKinge:
y'all should go take a look at my YouTube channel its called @jay-4544-k4 I have
Scarletxx404:
Help- My throat hurts and i need it to stop- what helps you guys?..... i have sch
gelphielvr:
What are the major differences between criminal and civil law?
MAGABACK:
Ok so Im in social media and analytics rn, and he asked for an instagram post looking thing using ai.
16 hours ago
2 Replies
0 Medals
3 hours ago
27 Replies
3 Medals
1 day ago
5 Replies
0 Medals
1 day ago
5 Replies
1 Medal
14 hours ago
10 Replies
1 Medal
1 day ago
4 Replies
2 Medals
2 days ago
8 Replies
1 Medal