Problem 45274. Fangs of pseudo-vampire number
given a number, find all the fangs of that number.
A pseudo-vampire number can have multiple of fangs. The output should be a cell containing all the pairs of possible fangs.
For example, 126 is a pseudo-vampire number whose fangs are - { '6' , '21' }
- 126 = 6*21
- 6 and 21 contains the digits of the original number.
Solution Stats
Problem Comments
-
1 Comment
The required output format is inconvenient.
1. The order of tuples and the order within the tuples should not matter.
2. Why not simply a cell array of vectors (instead of cell array of cell array of char arrays or a single cell array of char arrays)?
Solution Comments
Show commentsProblem Recent Solvers24
Suggested Problems
-
Return the 3n+1 sequence for n
8368 Solvers
-
870 Solvers
-
Set the array elements whose value is 13 to 0
1383 Solvers
-
Lychrel Number Test (Inspired by Project Euler Problem 55)
102 Solvers
-
Integer sequence - 2 : Kolakoski sequence
170 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!