First of all the letters are :
2×A,2×M,2×T,H,E,I,K.
Now we will do as the following first of all it is clear that there is $7!$ different ways of making a word just by using the letters A,M,T,H,E,I,K.
note that there are $8$ different places for putting a letter in this word (one before the first letter one between the first and second letters one between the second and third and so on) so if we want to place a second letter A there are $8-2$ different possible places since there are two places adjacent to the first A and we should not place our second A in those places. So there is $7!×6$ different methods of putting 2×A,M,T,H,E,I,K such that no two same letters are adjacent.
Now in the same way there are 9 different places for putting the second M but two of them are out of access since the second M should not be adjacent to the first letter M. So there is $7!×6×7$ different methods of putting 2×A,2×M,T,H,E,I,K such that no two same letters are adjacent.
And finally for putting the second T there are 10 different places two of which or not allowed to have another T in them. So at last there are $7!×6×7×8$ different words having the same letters as MATEMATIKS such that no two same letters are adjacent.
Now note that in this counting, each valid word will be counted exactly 8 times and this is the reason:
If for a 10-letter word $W$ made of the letters of MATEMATIKS, we choose one A, one M and one T and the H,E,I,K as the initial letters, then by removing the other 3 letters there will be 7 initial letters, using which, by going through the foresaid procedure $W$ can be built. So technically each word is produced 8 times each time by a different initial 7-letter. (That's clearly because there are 2×2×2 choices for choosing one A, one M and one T to be the initial ones out of two A, two M and two T. Also note that because $W$ is a word in which no two same letters are adjacent, all of these initial 7-letters that produce $W$ are pairwisely different)
Hence any word is counted 8 times and the answer is $7!×6×7×8÷8=7!×6×7$