Oscar M. Wells, 84, who served as a mathematician and scientific adviser in the Army Department for more than 30 years, died March 22 at Inova Fairfax Hospital.

He had complications from a stroke, said his wife, Jacqueline Wells.

Mr. Wells joined the Department of the Army as a civilian in the early 1950s. He worked at Maryland’s Aberdeen Proving Ground and later served on a presidential commission involving the reorganization of the armed forces during the Carter administration.

He retired in 1979 and became a consultant for the old BDM Corp. He retired again in the mid-1980s.

Oscar Milford Wells was born in Huntington, W.V., and was a 1948 mathematics graduate of Marshall University in Huntington. He later received a master’s degree in mathematics from George Washington University.

In retirement, Mr. Wells sold religious texts, bibles and hymnals to Washington-area churches.

Survivors include his wife of 63 years, the former Jacqueline Honacker, of Alexandria; two children, William Wells and Victoria Albert, both of Alexandria; four grandchildren; and two great-grandchildren.

— T. Rees Shapiro