Cody

Problem 166. Kaprekar numbers

Test if the input is a Kaprekar number: http://mathworld.wolfram.com/KaprekarNumber.html. Return a logical true or false.

Solution Stats

52.34% Correct | 47.66% Incorrect
Last solution submitted on Feb 15, 2017

Problem Comments

Solution Comments

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!