# Pattern recognition puzzle, …$5$ , M , $6,5040,$ … ; then M=?

The following pattern puzzle problem was given to me by one of my friend: $$\color{red}{5}$$ $$\color{blue}{24 \quad \quad \quad \text{M}}$$ $$\color{red}{4 \quad \quad \quad \quad \quad 6}$$ $$\color{blue}{40320 \quad \quad \quad 5040}$$ $$\color{red}{8 \quad \quad \quad 3}$$ $$\color{blue}{6}$$ $$\color{blue}{\text{M}}=?$$

• Hi welcome to Puzzling SE! Can you provide the link to the site where you got it from if you didn't make the puzzle yourself? ;) – North Mar 5 at 5:03
• @North actually one friend has given this problem to me in my whatsapp, so i don't know where he has got this problem; sorry for the inconvenience :( – Suresh Mar 5 at 5:07