OFFSET
1,1
COMMENTS
First occurrence of n in A339966.
LINKS
Martin Ehrenstein, Table of n, a(n) for n = 1..10000 (first 1000 terms, except for n = 48, from Michel Marcus)
FORMULA
n | (a(n) + 1). - David A. Corneth, Jan 12 2023
PROG
(PARI) a(n) = my(k=1); while (denominator(sigma(k)/(k+1)) != n, k++); k;
(PARI) a(n) = if(n == 1, return(2)); my(k=n-1); while (denominator(sigma(k)/(k+1)) != n, k+=n); k; \\ David A. Corneth, Jan 12 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Jan 07 2023
EXTENSIONS
a(48)-a(54) from Martin Ehrenstein, Jul 23 2023
STATUS
approved