Pseudo-vampire number - MATLAB Cody - MATLAB Central

Problem 45272. Pseudo-vampire number

Difficulty:Rate
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

18.26% Correct | 81.74% Incorrect
Last Solution submitted on Feb 23, 2025

Problem Comments

Solution Comments

Show comments

Group

Number theory Image
Number theory
  • 44 Problems
  • 21 Finishers

Problem Recent Solvers29

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page