Guess the logic
logic(1) = 10
logic(2) = 20
logic(3) = 34
logic(4) = 52
Make a function which will return 'x' th term of sequence.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers373
Suggested Problems
-
Return the 3n+1 sequence for n
8512 Solvers
-
Flip the main diagonal of a matrix
916 Solvers
-
Cell Counting: How Many Draws?
2493 Solvers
-
Replace Nonzero Numbers with 1
447 Solvers
-
933 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Nice