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

Problem 2057. persistant sum

Created by Ted

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)

Tags

Problem Group

Solution Statistics

31 correct solutions 5 incorrect solutions
Last solution submitted on Aug 25, 2014