How many numbers formed from all the digits 1113333344455678 are there if the digits 6...

Wronsonia8g
Answered
2022-07-03
How many numbers formed from all the digits 1113333344455678 are there if the digits 6 and 8 have to appear from the different sides of the digit 7?
My thoughts:
I thought I should first find how many numbers are formed from all the 14 digits 11133333444557, which is
,
and, then, analyze the possibilies given a position of the digit 7, but then, I lose the track and I only tell for sure 6 and 8 can be first and last digits in every situation, so there are strictly more numbers than .
Then, I thought, I should first consider the position among 16 overall places for 7 and choose the positions in and ways for 6 and 8 and multiply the result by 2 for each p, but this didn't lead me anywhere.