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!)
A318668 a(n) = gcd(n, A064988(n)). 3
1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 3, 1, 1, 5, 1, 1, 3, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 15, 1, 1, 1, 1, 1, 9, 1, 1, 1, 1, 1, 3, 1, 1, 5, 1, 1, 3, 1, 1, 1, 1, 1, 3, 11, 1, 1, 1, 1, 15, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 9, 1, 1, 5, 1, 1, 3, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 15, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 3, 1, 1, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
COMMENTS
a(n) > 1 if and only if the prime factorization of n contains at least two distinct primes, p and q, such that q = prime(p).
LINKS
FORMULA
a(n) = gcd(n, A064988(n)).
PROG
(PARI) A318668(n) = { my(f = factor(n)); for (k=1, #f~, f[k, 1] = prime(f[k, 1]); ); gcd(n, factorback(f)); }; \\ After code in A064988.
CROSSREFS
Sequence in context: A214071 A226915 A180173 * A322361 A219208 A336850
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 11 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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)