Skip to content

Finding all the vampire numbers between two numbers.

Notifications You must be signed in to change notification settings

aakritisi/VampireNumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vampire Number

A vampire number is a composite natural number with an even number of digits, that can be factored into two natural numbers each with half as many digits as the original number and not both with trailing zeroes, where the two factors contain precisely all the digits of the original number, in any order, counting multiplicity. A classic example is: 1260= 21 x 60. This project finds out all the Vampire numbers between two given numbers.

Installation

If available in Hex, the package can be installed by adding proj1 to your list of dependencies in mix.exs:

def deps do
  [
    {:proj1, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/proj1.

About

Finding all the vampire numbers between two numbers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages