login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A110377
a(n) = Sum_{r < n, gcd(r,n)=1} n!/r!.
2
1, 2, 9, 28, 205, 726, 8659, 47384, 562545, 4234330, 68588311, 483088332, 10699776685, 102434734598, 2016289908585, 24588487650736, 611171244308689, 6456997293606738, 209020565553571999, 2838875160624256460
OFFSET
1,2
EXAMPLE
a(6) = 6!(1/1! + 1/5!) = 726.
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
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Jul 24 2005
EXTENSIONS
More terms from Emeric Deutsch, Jul 25 2005
STATUS
approved