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!)
A344877 a(n) = gcd(n, A344875(n)), where A344875 is multiplicative with a(2^e) = 2^(1+e) - 1, and a(p^e) = p^e -1 for odd primes p. 3
1, 1, 1, 1, 1, 6, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 6, 1, 4, 3, 2, 1, 6, 1, 2, 1, 14, 1, 6, 1, 1, 1, 2, 1, 4, 1, 2, 3, 20, 1, 6, 1, 2, 1, 2, 1, 2, 1, 2, 1, 4, 1, 6, 5, 2, 3, 2, 1, 4, 1, 2, 3, 1, 1, 6, 1, 4, 1, 2, 1, 24, 1, 2, 3, 2, 1, 6, 1, 4, 1, 2, 1, 84, 1, 2, 1, 2, 1, 6, 1, 2, 3, 2, 1, 6, 1, 2, 1, 4, 1, 6, 1, 4, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
MATHEMATICA
f[2, e_] := 2^(e + 1) - 1; f[p_, e_] := p^e - 1; a[1] = 1; a[n_] := GCD[n, Times @@ f @@@ FactorInteger[n]]; Array[a, 100] (* Amiram Eldar, Jun 03 2021 *)
PROG
(PARI)
A344875(n) = { my(f=factor(n)~); prod(i=1, #f, (f[1, i]^(f[2, i]+(2==f[1, i]))-1)); };
A344877(n) = gcd(n, A344875(n));
CROSSREFS
Cf. A344875.
Cf. also A323409.
Sequence in context: A324891 A260340 A040037 * A356156 A356157 A333461
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 03 2021
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 10 18:13 EDT 2024. Contains 373279 sequences. (Running on oeis4.)