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.139 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.138 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.137 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.136 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.135 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.134 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.133 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.132 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.131 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.130 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.129 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.128 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.127 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.126 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.125 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.124 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.123 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.122 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.121 tracks/elixir/exercises/prime-factors/prime_factors.exs
trackler-2.2.1.120 tracks/elixir/exercises/prime-factors/prime_factors.exs