At this stage he became more interested in mathematics for after his uncle James Gregory died in October 1675 he left his papers to David's father and David began to study them carefully. Leaving Scotland in 1679, he visited several countries on the Continent, particularly the Netherlands and France, and did not return to Scotland until 1681.

Please remove spaces between words.
AtthisstagehebecamemoreinterestedinmathematicsforafterhisuncleJamesGregorydiedinOctober1675helefthispaperstoDavid'sfatherandDavidbegantostudythemcarefully.LeavingScotlandin1679,hevisitedseveralcountriesontheContinent,particularlytheNetherlandsandFrance,anddidnotreturntoScotlanduntil1681.