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
Problem Comments
-
2 Comments
Raihan Ahmed
on 19 Nov 2015
Superb Problem
Jonathan Cratter
on 2 Dec 2018
nnnnn
Solution Comments
Show commentsProblem Recent Solvers276
Suggested Problems
-
given 3 sides, find area of this triangle
797 Solvers
-
Make a run-length companion vector
638 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
614 Solvers
-
477 Solvers
-
Flip the vector from right to left
9003 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!