  A new family of spherically symmetric inhomogeneous solutions of Brans-Dicke
gravity is generated using the Fonarev solution of general relativity as a seed
and a map from the Einstein to the Jordan conformal frame. The Brans-Dicke
scalar field self-interacts with a power-law or inverse power-law potential in
the Jordan frame. This 4-parameter family of geometries, which is dynamical and
asymptotically Friedmann-Lemaitre-Robertson-Walker, contains as special cases
two previously known classes of solutions and solves also the field equations
of $f(R)=R^n$ gravity
