Inflation and late-time cosmic acceleration in non-minimal Maxwell-F(R) gravity and the generation of large-scale magnetic fields | Publicación