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
-
Which values occur exactly three times?
5142 Solvers
-
Back to basics 19 - character types
265 Solvers
-
Getting the row and column location from a matrix
288 Solvers
-
07 - Common functions and indexing 2
414 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
382 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!