login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A275479
Least positive k such that d(n) divides d(n+k) (d = A000005).
2
1, 1, 2, 5, 1, 2, 1, 2, 3, 4, 1, 6, 1, 1, 6, 32, 1, 2, 1, 8, 1, 2, 1, 6, 3, 1, 3, 4, 1, 10, 1, 12, 1, 1, 3, 64, 1, 1, 1, 2, 1, 12, 1, 1, 5, 5, 1, 32, 1, 2, 3, 8, 1, 2, 1, 10, 1, 2, 1, 12, 1, 3, 5, 128, 1, 4, 1, 4, 1, 8, 1, 12, 1, 3, 1, 8, 1, 10, 1, 32, 31, 2, 1, 6, 1, 1, 1, 14, 1, 6, 2, 4, 1, 1, 1, 12, 1, 1, 9, 80
OFFSET
1,3
COMMENTS
a(A057922(n)) = 1. - Michel Marcus, Aug 01 2016
LINKS
EXAMPLE
a(10) = 4 because A000005(10) divides A000005(10+4).
PROG
(PARI) a(n) = {my(k = 1); while(numdiv(n+k) % numdiv(n) != 0, k++); k; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Jul 29 2016
EXTENSIONS
Data section extended up to a(100) by Antti Karttunen, Mar 02 2023
STATUS
approved