SOUTH PORTLAND — An anonymous donation of more than $3 million will be used to encourage Maine’s middle and high school students to explore science and math.

The Maine Mathematics and Science Alliance and the Maine School of Science and Mathematics are announcing a new collaboration next week called the Reach Center.

Jan Mokros, the alliance’s director, told the Bangor Daily News the new center will spend the next few months developing partnerships between research institutions, educators, schools and businesses around the state. The goal is to offer mentoring programs, online classes in specialized subjects such as robotics, and summer and after-school school programs. The center also will help connect students with other projects that promote science and math education.

The collaboration is being announced Tuesday at Southern Maine Community College.