I re-read what I wrote and it may be a bit confusing. Here is the short story:

b=7 now I need to extrapolate to binary


r1=1
r2=1
r3=1
r4=0


If it's still not clear, let me know.