Im not really into the whole math aspect of this, i just wants to know, if i breed the same two parents will i eventually get any hidden power i want for the offspring, or is hidden power tied to the parents?
Hidden power is tied to the IV's of the pokemon. So you need to breed for specific IV's at specific values.
Its annoying, long winded and due to hidden powers low damage not always worthwhile to be honest. I did it once and never again.
Anyway, as most dvs comes from the male, and i captured a wild male and tested hidden power on it. I got the hidden power i wanted, do this mean that when i breed the offspring will always have a chance of the same hidden power?
No.
IV's are random, if you use a destiny knot then 5 of the IV's will come from the parents but you dont know which.
https://www.gamefaqs.com/boards/696959-pokemon-x/68386193
Nevermind, i just continued breeding and after a while i got the hidden power i wanted. So it seems entirely random, which is good, in a way, you will get the ivs you want in the end.