OFFSET
1,5
EXAMPLE
a(6)=2 because floor(lcm(1,2,3,4,5,6)/(1+2+3+4+5+6)) = floor(60/21) = 2.
MAPLE
a:=n->floor(2*lcm(seq(k, k=1..n))/n/(n+1)): seq(a(n), n=1..37); # Emeric Deutsch
MATHEMATICA
f[n_] := Floor[ 2LCM @@ Range[n]/(n(n + 1))]; Table[ f[n], {n, 32}] (* Robert G. Wilson v, Jul 18 2005 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Jul 16 2005
EXTENSIONS
More terms from Emeric Deutsch and Robert G. Wilson v, Jul 16 2005
STATUS
approved