Answer with explanation:
The number of letters in word "ALGORITHM" = 9
The number of combinations to select r things from n things is given by :-
![C(n,r)=(n!)/(r!(n-r)!)](https://img.qammunity.org/2020/formulas/mathematics/college/lgiy3oz9z8bntx3aexbk62g7j6offb53gk.png)
Now, the number of combinations to select 6 letters from 9 letters will be :-
![C(9,8)=(9!)/(6!(9-6)!)=(9*8*7*6!)/(6!*3!)=84](https://img.qammunity.org/2020/formulas/mathematics/college/spfgxzsi6iezmggguyas9tb1ebuqefrln0.png)
Thus , the number of ways can six of the letters of the word ALGORITHM=84
The number of ways to arrange n things in a row :
![n!](https://img.qammunity.org/2020/formulas/mathematics/middle-school/wxudsd15sw9jj119tsmc48paueewmq9u4l.png)
So, the number of ways can the letters of the word ALGORITHM be arranged in a be seated together in the row :-
![9!=362880](https://img.qammunity.org/2020/formulas/mathematics/college/pxd4nliljxxr0diyleqxfnq2ps9myj7v6f.png)
If GOR comes together, then we consider it as one letter, then the total number of letters will be = 1+6=7
Number of ways to arrange 9 letters if "GOR" comes together :-
![7!=5040](https://img.qammunity.org/2020/formulas/mathematics/middle-school/7iuxbsz0c81mn9lqpevg2g8gd105rh99sn.png)
Thus, the number of ways to arrange 9 letters if "GOR" comes together=5040