factor b^n+5-b^5

the way you typed it, it does not factor

If you meant b^(n+5) - b^5 , then

= b^5 (b^n - 1)