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 Solvers282
Suggested Problems
-
The Hitchhiker's Guide to MATLAB
3333 Solvers
-
Test if a Number is a Palindrome without using any String Operations
238 Solvers
-
Return elements unique to either input
777 Solvers
-
Matrix indexing with two vectors of indices
734 Solvers
-
Getting the row and column location from a matrix
289 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!