Quantcast
Channel: VBForums - Maths Forum
Viewing all articles
Browse latest Browse all 112

[RESOLVED] calculating maximum distinct char permutations

$
0
0
if I have four characters: R, G, B, Y, I can calculate the maximum possible permutations as they are distinct characters and the maximum is 24, which is the factorial of 4.
but if the characters are: R, G, B, Y, R, the maximum is 60, but I can't work out a formula. also six characters R, G, B, Y, R, G, the maximum is 180...

Name:  _5.png
Views: 63
Size:  53.5 KB

there must be a simple formula for calculating those numbers. can anyone help with this?
Attached Images
 

Viewing all articles
Browse latest Browse all 112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>