Sha256: 9a60690182986529e63f624e4106feda5e3edc3a6a7cd1f5484c82b096530f18

Contents?: true

Size: 329 Bytes

Versions: 69

Compression:

Stored size: 329 Bytes

Contents

defmodule PrimeFactors do
  @doc """
  Compute the prime factors for 'number'.

  The prime factors are prime numbers that when multiplied give the desired
  number.

  The prime factors of 'number' will be ordered lowest to highest.
  """
  @spec factors_for(pos_integer) :: [pos_integer]
  def factors_for(number) do
  end
end

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.118 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.117 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.116 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.115 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.114 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.113 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.111 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.110 tracks/elixir/exercises/prime-factors/prime_factors.exs