library(tidyverse)
library(ggthemes)
library(reactable)
library(pracma)
There are 24 different ways It can be done.
\[ {4 \choose 3}{3 \choose 2} {2 \choose 1}\]
(choose(4,3)*choose(3,2)*choose(2,1))
## [1] 24
Ans. There are 12 different color combinations he can produce.
P = 3
n = 4
P*n
## [1] 12