I had the recipe for a while so I don't remember, I'm doing a rerun to try and figure that out. if I do i'll respond again or edit this comment to add it.
I hope my suggestion will help,if you didn't have the recipe for making dynamite and didn't know where to find it (just like what I have experienced), then you can try to do the quest that give you dynamite repeatedly. this method works for me