Find Logic 28 - MATLAB Cody - MATLAB Central

Problem 47385. Find Logic 28

Difficulty:Rate
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

64.53% Correct | 35.47% Incorrect
Last Solution submitted on Jul 01, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
3
6

Problem Recent Solvers175

Suggested Problems

More from this Author40

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!