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!)
A354871 a(n) = gcd(A056239(n), A258851(n)). 3
0, 1, 2, 2, 3, 1, 4, 3, 4, 1, 5, 4, 6, 5, 1, 4, 7, 1, 8, 1, 2, 3, 9, 1, 6, 1, 6, 2, 10, 1, 11, 5, 1, 1, 1, 6, 12, 1, 4, 6, 13, 1, 14, 1, 1, 1, 15, 2, 8, 1, 1, 4, 16, 1, 2, 1, 2, 1, 17, 1, 18, 1, 8, 6, 3, 1, 19, 3, 1, 1, 20, 1, 21, 1, 4, 2, 1, 1, 22, 1, 8, 1, 23, 4, 2, 1, 4, 4, 24, 1, 2, 1, 1, 1, 1, 1, 25, 1, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = gcd(A056239(n), A258851(n)).
a(n) = gcd(A056239(n), A278510(n)) = gcd(A258851(n), A278510(n)).
For n > 1, a(n) = A056239(n) / A354872(n) = A258851(n) / A354873(n).
PROG
(PARI)
A056239(n) = { my(f); if(1==n, 0, f=factor(n); sum(i=1, #f~, f[i, 2] * primepi(f[i, 1]))); }
A258851(n) = (n*sum(i=1, #n=factor(n)~, n[2, i]*primepi(n[1, i])/n[1, i])); \\ From A258851
A354871(n) = gcd(A056239(n), A258851(n));
CROSSREFS
Sequence in context: A331803 A325184 A353931 * A303777 A366749 A304529
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 11 2022
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 May 16 12:41 EDT 2024. Contains 372552 sequences. (Running on oeis4.)