login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A110416 a(n) = Sum_{k<n, k!==0 (mod n)} k!/n. 1
1, 0, 0, 0, 0, 25, 0, 738, 5120, 40908, 0, 3662892, 0, 482141160, 6261884552, 87600164760, 0, 21000656701120, 0, 6421274296759014, 121967975910086640, 2438739530264419200, 0, 1126236239013683565846, 25899122858782713781248 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
a(n)=0 if and only if n is a prime or n=4. - Emeric Deutsch, Aug 05 2005
LINKS
EXAMPLE
a(9) = (6! + 7! + 8!)/9 = 5120.
MAPLE
a:=proc(n) local A, k: A:={}: for k from 0 to n-1 do if k! mod n = 0 then A:=A union {k} else A:=A: fi od: sum(A[j]!, j=1..nops(A))/n end: seq(a(n), n=1..27); # Emeric Deutsch, Aug 05 2005
CROSSREFS
Sequence in context: A108321 A059062 A179809 * A028848 A172298 A040630
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Aug 01 2005
EXTENSIONS
More terms from Emeric Deutsch, Aug 05 2005
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 21 10:29 EDT 2024. Contains 371852 sequences. (Running on oeis4.)