Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 Re: Coder's Corner » Comination Algorithm, Order Matters, Souce Code » 2011-10-14 22:48:17

ah k, got to google some algorithms for permutations, thanks!

#2 Coder's Corner » Comination Algorithm, Order Matters, Souce Code » 2011-10-14 16:06:08

JonathanS
Replies: 3

Hello, I visited mathsisfun.com/combinatorics/combinations-permutations-calculator.html and would like to get the source code for the combination where order matters and no repeats.

The one that is n!/(n-r)!

I would be using it for a program I am making that outputs all possible tetrahedral molecules.

Thanks!

Board footer

Powered by FluxBB