Fangs of pseudo-vampire number - MATLAB Cody - MATLAB Central

Problem 45274. Fangs of pseudo-vampire number

Difficulty:Rate

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.

https://en.wikipedia.org/wiki/Vampire_number

Solution Stats

35.82% Correct | 64.18% 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 Solvers24

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page