Guess the logic!
logic(0,1) = 1
logic(1,1) = 4
logic(1,2) = 9
logic(2,2) = 16
logic(2,3) = 25
logic(4,1) = 25
logic(5,1) = 36
Make a function logic(a,b) which will return value according to problem.

Solution Stats

1341 Solutions

667 Solvers

Last Solution submitted on May 25, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Group


Problem Recent Solvers667

Community Treasure Hunt

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

Start Hunting!