Existence of solutions for a mixed fractional boundary value problem