stern_brocot: list the sequences for a number

This lists the power series n2^i that are contained within the
positions of the Stern-Brocot sequence for a given number.