login
A326073
a(n) = gcd(1+n-A020639(n), 1+sigma(n)-A020639(n)-n), where A020639 gives the smallest prime factor of n (and 1 for 1), and sigma is the sum of divisors of n.
3
1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 27, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 7, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 1, 1, 1, 1, 5, 1, 1, 1, 7, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1
OFFSET
1,6
LINKS
FORMULA
a(n) = gcd(1+n-A020639(n), 1+A000203(n)-A020639(n)-n).
PROG
(PARI)
A020639(n) = if(1==n, n, factor(n)[1, 1]);
A326073(n) = gcd(1+n-A020639(n), 1+sigma(n)-A020639(n)-n);
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jun 10 2019
STATUS
approved