Cody

Problem 2057. persistant sum

There will be 9 tests for this problem.

In each test you will be provided with 2 integers n=[n1,n2], where n2 is equal to the test number.

Your code should return n1*(remainder(n2/n3)+2) +remainder(n2/n3+1)

Solution Stats

86.0% Correct | 14.0% Incorrect
Last solution submitted on Apr 27, 2017

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!