?LCM

n=35;
(LCM@@Range[n])/Range[n]

Range[n]

LCM@@Range[65]