OK I got the following problem where I need to find a formula to determine the number of possible outcomes given N number of "cables".
The problem goes this way, I have three cables on of them is defective and I need to check them one at a time. If I start by inspecting cable 1 it can be either defective (first outcome) or non defective, if it is non defective then I cna either inspect cable 2 or cable 3. If I choose to inspect cable 2 it can be either defective (second outcome) or non defective which means that the third cable is defective (third outcome). If I choose to inspect cable 3 first instead of cable two then I have two more possible outcomes. 5 total outcomes if I start by inspecting cable 1, but I can start with cable 2 or cable 3.
So in total I have 15 possible outcomes if There are 3 Cables
Similarly I have 4 outcomes if there are 2 cables.
Similarly I have 64 outcomes if there are 4 cables.
Similarly I have 325 outcomes for 5 cables
So I need to develop a formula for N number of cables.
I believe that this should be in a form of a geometric series but I am not sure. This is what I have so far.
3 cables = (4 x 3) + 3 = 15
4 cables = (15 x 4) + 4 = 64
5 cables = (64 x 5) + 5 = 325
(previous number of cables x number of cables) + number of cables.
The problem goes this way, I have three cables on of them is defective and I need to check them one at a time. If I start by inspecting cable 1 it can be either defective (first outcome) or non defective, if it is non defective then I cna either inspect cable 2 or cable 3. If I choose to inspect cable 2 it can be either defective (second outcome) or non defective which means that the third cable is defective (third outcome). If I choose to inspect cable 3 first instead of cable two then I have two more possible outcomes. 5 total outcomes if I start by inspecting cable 1, but I can start with cable 2 or cable 3.
So in total I have 15 possible outcomes if There are 3 Cables
Similarly I have 4 outcomes if there are 2 cables.
Similarly I have 64 outcomes if there are 4 cables.
Similarly I have 325 outcomes for 5 cables
So I need to develop a formula for N number of cables.
I believe that this should be in a form of a geometric series but I am not sure. This is what I have so far.
3 cables = (4 x 3) + 3 = 15
4 cables = (15 x 4) + 4 = 64
5 cables = (64 x 5) + 5 = 325
(previous number of cables x number of cables) + number of cables.