OFFSET
1,1
COMMENTS
Corresponding averages are 3, 6, 540, 840, 3, 2880, 6, 3240, 1170, 8640, 1596, 3240, 28, 6, 540, 9072, 15120, 8640, 330, 55440, 2880, 21924, 270, 3240, 1860, 875070, 7200, ...
EXAMPLE
a(13) = 7 because sigma(7*13)/tau(7*13) = sigma(7*13+1)/tau(7*13+1).
MATHEMATICA
a[n_] := Block[{k=1}, While[! Equal @@ (DivisorSigma[1, n*k + {0, 1}] / DivisorSigma[ 0, n*k + {0, 1}]), k++]; k]; Array[a, 20] (* Giovanni Resta, Jul 28 2016 *)
PROG
(PARI) a(n) = {my(k=1); while (sigma(k*n)/numdiv(k*n) != sigma(k*n+1)/numdiv(k*n+1), k++); k; }
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Jul 28 2016
STATUS
approved