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.67% Correct | 13.33% Incorrect
Last solution submitted on Sep 07, 2016

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!

Join the 15-year community celebration.

Play games and win prizes!

Learn more