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!)
A079893 a(n) = gcd(n, A079892(n)), where A079892(n) is the least number > n having one more distinct prime factor than n. 4
1, 2, 3, 2, 1, 6, 1, 2, 1, 10, 1, 6, 1, 2, 15, 2, 1, 6, 1, 10, 3, 2, 1, 6, 1, 2, 1, 2, 1, 30, 1, 1, 3, 2, 7, 6, 1, 2, 3, 2, 1, 42, 1, 4, 15, 2, 1, 12, 1, 10, 3, 4, 1, 6, 5, 4, 3, 2, 1, 30, 1, 2, 3, 1, 1, 6, 1, 2, 1, 70, 1, 6, 1, 2, 3, 2, 1, 6, 1, 4, 1, 2, 1, 42, 5, 2, 3, 2, 1, 30, 1, 2, 3, 2, 1, 6, 1, 2, 3, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
PROG
(PARI) A079893(n) = { my(x=1+omega(n)); for(k=1+n, oo, if(omega(k)==x, return(gcd(k, n)))); }; \\ Antti Karttunen, Mar 02 2023
CROSSREFS
Sequence in context: A081316 A226362 A228549 * A324646 A286156 A113908
KEYWORD
nonn,look
AUTHOR
Reinhard Zumkeller, Jan 14 2003
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 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)