It is known that we can solve the corresponding problem with 13 coins in three weighings. As the coins are broken into three groups each time and we have about nine times more coins, our target should be five. We can follow the logic of the linked solution. We split the coins into groups that are weighed $n$ times. The group weighed $n$ times has ${5 \choose n}2^{n-1}$ coins in it because we can choose the times a coin is on the balance in $5 \choose n$ ways and we can choose the sides it goes on in $2^n$ ways but we need to distinguish heavy from light which divides by $2$. This lets us handle $5+20+40+40+16=121$ coins. The good coin goes on the right each time. Number the single weighing coins $1-5$ and put each one on the left in turn. Twenty coins are each weighed twice. Number them $1$ to $20$. These will be weighed $$1,2,9,20\quad 10,11,12,19\\1,3,4,16\quad 2,15,17,18\\3,5,6,12\quad 4,9,13,14\\5,7,8,18\quad 6,17,19,20\\7,9,10,14\quad 8,13,15,16$$ Note that these always put four coins on each side. There are $40$ coins weighed $3$ times each, number them $1$ to $40$ We will weigh them
$$1,2,3,13,15,16,17,18,20,24,30,39 \quad 4,14,19,21,22,23,29,31,32,37,38,40\\
1,2,4,5,6,7,17,19,20,23,28,34 \quad 3,8,18,21,22,24,25,26,2733,35,36\\
1,3,4,5,6,8,9,10,11,27,32,38 \quad 2,7,12,25,26,28,29,30,31,37,39,40\\
5,7,8,9,10,12,13,14,15,31,36 \quad 6,11,16,21,23,24,29,30,3233,34,35\\
9,11,12,13,14,16,17,18,19,26,35,40 \quad 10,15,20,25,27,2833,34,36,37,38,39$$
there will be $12$ coins on each side.
For the coins that are on the pan four times we can weigh
$$ \begin {array} {c c}1,2,6,7,8,17,21,24,25,28,30,33,36,39& 3,4,5,18,19,20,22,23,26,27,29,31,32,34,36,37,38,40\\
1,3,7,9,10,14,15,16,25,29,32,33,36,38 & 2,4,5,6,8,11,12,13,26,27,28,30,31,34,35,37,39,40\\
1,4,6,9,11,15,17,18,22,23,24,33,37,40 & 2,3,5,7,8,10,12,13,14,16,19,20,21,34,35,36,38,39\\
1,5,8,9,12,1417,19,2325,26,30,31,32 & 2,3,4,6,7,10,11,13,15,16,18,20,21,22,24,27,28,29\\9,13,16,17,20,22,25,27,31,33,34,38,39,40 & 10,11,12,14,15,18,19,21,23,24,26,28,29,32,35,36,37 \end {array} $$
We will have $14$ coins on the left and $18$ coins on the right. We can fix that imbalance with the ones that are on all five times. There, we weigh $$3,4,5,6,8,10,11,13,15,16\quad 1,2,7,9,12,14\\2,4,5,6,8,9,11,12,14,15\quad 1,3,7,10,13,16\\2,3,5,6,7,9,11,13,14,16\quad 1,4,8,10,12,15\\2,3,4,6,7,9,10,12,13,15\quad 1,5,8,11,14,16\\2,3,4,5,7,8,10,12,14,16\quad 1,6,9,11,13,15$$
This has $10$ coins on the left and $6$ on the right. This results in $41$ coins on each side of the balance each time.
Given the results, the number of imbalances tells us the number of times the fake coin was on the scale. The pattern of imbalances tells us which coin is fake and whether it is heavy or light.