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!)
A322362 a(n) = gcd(n, A166590(n)), where A166590 is completely multiplicative with a(p) = p+2 for prime p. 7
1, 2, 1, 4, 1, 2, 1, 8, 1, 2, 1, 4, 1, 2, 5, 16, 1, 2, 1, 4, 3, 2, 1, 8, 1, 2, 1, 4, 1, 10, 1, 32, 1, 2, 7, 4, 1, 2, 3, 8, 1, 6, 1, 4, 5, 2, 1, 16, 1, 2, 1, 4, 1, 2, 1, 8, 3, 2, 1, 20, 1, 2, 9, 64, 5, 2, 1, 4, 1, 14, 1, 8, 1, 2, 5, 4, 1, 6, 1, 16, 1, 2, 1, 12, 1, 2, 1, 8, 1, 10, 1, 4, 3, 2, 1, 32, 1, 2, 1, 4, 1, 2, 1, 8, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = gcd(n, A166590(n)).
a(A037074(n)) = A006512(n).
MATHEMATICA
a[n_] := If[n == 1, 1, GCD[n, Times@@ ((First[#]+2)^Last[#] &/@FactorInteger[n])]]; Array[a, 120] (* Amiram Eldar, Dec 05 2018~ *)
PROG
(PARI)
A166590(n) = { my(f = factor(n)); for(i=1, #f~, f[i, 1] += 2); factorback(f); };
A322362(n) = gcd(n, A166590(n));
CROSSREFS
Sequence in context: A006519 A356166 A327405 * A087258 A333763 A076775
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 05 2018
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 30 00:49 EDT 2024. Contains 372115 sequences. (Running on oeis4.)