Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
62 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
girlypop:
here's another daily bible verse for my believers :> "Do not be anxious about anything, but in every situation, by prayer and petition, with thanksgiving, l
gingy57016:
I love you so much I will wait no matter how long it takes I want you to get better I want to officially call you mine again I just have to wait 13:47pm 3.
Breathless:
Welcome back to another Question of the day! for health! What Foods give the most
8u:
The weekend It was 5 am in the morning we were still awake i didn't say much i ju
korbie:
Heavenly cursed and heavily sinned I No more i like to add them, so, I want to die And I want to become a holy ghost Whom the people would like the most.
CriminalilticFools:
Is happiness real, Or just a way to give life meaning? What is the purpose If, in the end, everyone is leaving? We leave behind ashes, But while we breathe,
8u:
In a world so vast, I walk alone, With shadows as my only home. Every smile I see feels so far away, But there's one heart that lights my gray.
toga:
how would you type out the sounds a llama, sheep, goat, and alpaca make? I am ask
6 minutes ago
3 Replies
2 Medals
25 minutes ago
6 Replies
2 Medals
2 hours ago
3 Replies
2 Medals
50 minutes ago
3 Replies
1 Medal
10 hours ago
8 Replies
1 Medal
3 hours ago
8 Replies
1 Medal
2 hours ago
9 Replies
1 Medal
2 hours ago
6 Replies
0 Medals