Guess the logic!
logic(1) = 21
logic(2) = 25
logic(3) = 22
logic(4) = 38
logic(5) = 33
logic(6) = 69
Make a function logic(x) which will written 'x' th term of sequence.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers198
Suggested Problems
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1305 Solvers
-
Solve the set of simultaneous linear equations
493 Solvers
-
Find the largest value in the 3D matrix
1661 Solvers
-
Find the index of n in magic(n)
271 Solvers
-
Height of a right-angled triangle
2014 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!