The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A340193 a(n) = n - (Sum_{d|n} A063994(d)). 3
0, 0, 0, 1, 0, 1, 0, 4, 4, 3, 0, 5, 0, 5, 4, 11, 0, 10, 0, 11, 8, 9, 0, 15, 16, 11, 20, 15, 0, 15, 0, 26, 16, 15, 20, 25, 0, 17, 20, 29, 0, 25, 0, 29, 24, 21, 0, 37, 36, 38, 28, 33, 0, 43, 36, 41, 32, 27, 0, 41, 0, 29, 44, 57, 32, 41, 0, 47, 40, 49, 0, 58, 0, 35, 56, 51, 56, 55, 0, 67, 72, 39, 0, 61, 48, 41, 52, 71, 0, 63, 36 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
FORMULA
a(n) = n - A340192(n).
a(n) = Sum_{d|n} A318840(d).
PROG
(PARI)
A063994(n) = { my(f=factor(n)); prod(i=1, #f~, gcd(f[i, 1]-1, n-1)); };
A340193(n) = (n-sumdiv(n, d, A063994(d)));
CROSSREFS
Inverse Möbius transform of A318840.
Cf. also A051953.
Sequence in context: A021697 A276635 A256845 * A340196 A016707 A131080
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 31 2020
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 June 8 04:13 EDT 2024. Contains 373207 sequences. (Running on oeis4.)