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!)
A324534 The smallest common prime factor of sigma(n) and A276086(n), or 1 if no such prime exists. 2
1, 3, 2, 1, 2, 1, 2, 3, 1, 3, 2, 1, 2, 3, 2, 1, 2, 1, 2, 3, 2, 3, 2, 5, 1, 3, 2, 1, 2, 1, 2, 3, 2, 3, 2, 7, 2, 3, 2, 3, 2, 1, 2, 3, 2, 3, 2, 1, 1, 3, 2, 7, 2, 5, 2, 3, 2, 3, 2, 7, 2, 3, 2, 1, 2, 1, 2, 3, 2, 3, 2, 5, 2, 3, 2, 5, 2, 7, 2, 3, 1, 3, 2, 7, 2, 3, 2, 3, 2, 1, 2, 3, 2, 3, 2, 7, 2, 3, 2, 7, 2, 1, 2, 3, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A020639(A324644(n)) = A020639(gcd(A000203(n),A276086(n))).
PROG
(PARI)
A276086(n) = { my(i=0, m=1, pr=1, nextpr); while((n>0), i=i+1; nextpr = prime(i)*pr; if((n%nextpr), m*=(prime(i)^((n%nextpr)/pr)); n-=(n%nextpr)); pr=nextpr); m; };
A020639(n) = if(1==n, n, factor(n)[1, 1]);
A324534(n) = A020639(gcd(sigma(n), A276086(n)));
CROSSREFS
Sequence in context: A175191 A328928 A342468 * A248505 A254629 A096248
KEYWORD
nonn
AUTHOR
Antti Karttunen, Mar 11 2019
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 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)