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!)
A057795 Sum k!, where sum is over positive integers k <= n with gcd(k,n) = 1. 0
1, 1, 3, 7, 33, 121, 873, 5167, 45507, 367927, 4037913, 39921961, 522956313, 6267300607, 93445274187, 1313941673647, 22324392524313, 355693695038761, 6780385526348313, 122000794104233527, 2554923725074062867 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
a(6) = 1! + 5! = 121 because 1 and 5 are the positive integers that are <= 6 and are relatively prime to 6.
MATHEMATICA
Table[Total[Select[Range[n], CoprimeQ[#, n]&]!], {n, 30}] (* Harvey P. Dale, Apr 07 2022 *)
CROSSREFS
Sequence in context: A120566 A057480 A051256 * A054935 A208989 A358961
KEYWORD
nonn
AUTHOR
Leroy Quet, Nov 05 2000
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 19 16:03 EDT 2024. Contains 371794 sequences. (Running on oeis4.)