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
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Group

MATLAB Onramp Practice Image
MATLAB Onramp Practice
  • 15 Problems
  • 4632 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!