Martin Marietta Corp., the Bethesda high-technology conglomerate best known for its aerospace division, will acquire Mathematica Inc., a Princeton, N.J., computer software company, for approximately $30.8 million in cash and securities.

Mathematica produces a line of data base management and decision support software w0004 ----- r f BC-05/17/83-MARTIN 05-17 0001 Marietta to Buy Software Firm By Michael Schrage Washington Post Staff Writer

Martin Marietta Corp., the Bethesda high-technology conglomerate best known for its aerospace division, will acquire Mathematica Inc., a Princeton, N.J., computer software company, for approximately $30.8 million in cash and securities.

Mathematica produces a line of data base management and decision support software called RAMSIS II. Described as "fourth generation" software, RAMSIS II permits users to query a data base in a simple way for information retrieval. American Telephone & Telegraph Co., Allied Corp. and Martin Marietta are corporate users of the software.

One of the conditions of acquisition, said Tibor Fabian, Mathematica's president and chief executive officer, is that Martin Marietta will invest in the development of a next generation of RAMSIS software.

Mathematica, which had 1982 revenues of $36 million, will be operated as part of Martin Marietta Data Systems. A Marietta spokesman said yesterday the company wants to expand its presence in the computer services market and that Mathematica "fits strategically" with its plans. Martin Marietta Data Systems had earnings of $11.2 million on $122 million in 1982 sales.