OFFSET
1,2
EXAMPLE
a(6) = 6!(1/1 + 1/5) = 864.
MAPLE
a:=proc(n) local s, r: s:=0: for r from 1 to n do if gcd(r, n)=1 then s:=s+1/r else s:=s: fi: od: n!*s end: seq(a(n), n=1..23); # Emeric Deutsch, Jul 25 2005
MATHEMATICA
Do[Print[n! * Plus @@ Map[(1/#)&, Select[Range[n], GCD[ #, n] == 1 &]]], {n, 1, 30}] (* Ryan Propper, Jul 25 2005 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Jul 24 2005
EXTENSIONS
STATUS
approved