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

36.36% Correct | 63.64% Incorrect
Last Solution submitted on Dec 21, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
14
6

Problem Recent Solvers24

Suggested Problems

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!
Go to top of page