OFFSET
1,2
COMMENTS
a(n) is the least k >= A007947(n) such that n-k and n-(sigma(n)-k) are relatively prime.
LINKS
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, May 31 2019
STATUS
approved