OFFSET
1,2
PROG
(PARI) a(n) = my(x=1, nx=1, ny=2); while(gcd(nx, ny) != n, x++; nx=ny; ny=numdiv(x+1)); x;
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 12 2023
EXTENSIONS
a(11),a(13),a(17),a(19),a(23)-a(36) from Max Alekseyev, Feb 18 2024
STATUS
approved