Problem 45272. Pseudo-vampire number
Given a number x, determine whether it is a pseudo-vampire number.
A pseudo-vampire number is similar to vampire numbers except -
- It can be of any length unlike the vampire numbers which have even no of digits.
- It can have n-number of fangs which need not to be of the same length unlike the vampire numbers which can have only two fangs.
- But the fangs must contain precisely all the digits of the original number.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers25
Suggested Problems
-
Project Euler: Problem 3, Largest prime factor
1348 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
10200 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1597 Solvers
-
Fix the last element of a cell array
1166 Solvers
-
8246 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!