for the first one, if we are talking about the very next song, the probability that the author of it is X would be 17/338. So the odds would be 17/(338-17).

second one, if we assume that once the song was played in can no longer be repeated:

17*16*15*14*13

--------------------------- = 0.000000173 This is the probability that there would be 5 songs by X in a row. => The probability that there would not be such situation is 0.999999827.

338*337*336*335*334

=> the odds would be 0.000000173/0.999999827

otherwise, if repetition is allowed,

P (5songs in a row) = (17/338)^5, the probability of the opposite one is 1-(17/338)^5. => odds would be ((17/338)^5)/(1-(17/338)^5)