This is the formula for how many dual-gene co-dom combos you can make with the snakes in your collection (in the long run, because of sex incompatibilities this will not be immediately possible (necessarily).
X = number of co-dom genes in your collection.
((X*X) - X) / 2
If you want to consider the immediately possible dual gene combos you can make you simply multiply the individual genes held by your male breeders with the genes of your girls.
Girls (X)
pastel
fire
--------
Males (Y)
Cinnamon
Mojave
2 girls (X) x boys 2(Y) = 4 Combos
This could be represent many different breeding scenarios, such as 4 different snakes (two on each side), a firemon x firefly (two genes each), and so on.
This only works when you have no overlap with the genes on either side of the equation.
let's say you have the following snakes
Female (X)
Pastel
Mojave
Cinnamon
Pinstripe
----------------
Males (Y)
Pastel
Mojave
Butter
Fire
The problem here is that there are pastels and mojaves in both the male and female gene pools. To compensate for this we need to change the equation slightly, and create a new function (overlap Z), which in this case has the value 2 because there are two genes present in both.
The new equation is ....
Females x (Males - Overlap)
+
Overlap x (Females - Overlap)
or using the symbols
X = Females
Y = Males
Z = Overlap
(X * (Y - Z)) + (Z * (X - Z))
Which in this case translates to
(4 * (4 - 2)) + (2 * (4 - 2))
= 8 + = 4
-------------------------------
12 Dual Gene combos
I hope I'm right about this, and I hope that anybody interested finds this fun.