OFFSET
0,2
COMMENTS
Motivated by the observation that some small numbers (2,12,14,18,...) occur only very late in the recently added sequence A243473, but all numbers seem to appear sooner or later. (The definition is completed by "0 if no such index exists" to guarantee well-definedness in absence of a proof, but I conjecture that no such 0 will ever occur.)
Least i such that sigma(i)/i = (k+n)/k for some k. - Michel Marcus, Sep 09 2015
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 0..629
EXAMPLE
For n=0, 1 satisfies sigma(1)/1 = 1/1 and 1/1 = (1+0)/1; so a(0)=1.
For n=2, 2 satisfies sigma(2)/2 = 3/2 and 3/2 = (2+1)/2; so a(1)=2.
For n=3, 120 satisfies sigma(120)/120 = 3/1 and 3/1 = (1+2)/1; so a(2)=120.
MATHEMATICA
f[n_] := Block[{r = DivisorSigma[1, n]/n}, Numerator[r] - Denominator@ r]; Table[i = 1; While[f@ i != n, i++]; i, {n, 0, 67}] (* Michael De Vlieger, Sep 09 2015 *)
PROG
(PARI) A243473(n)=my(t=sigma(n, -1)); numerator(t)-denominator(t)
v=vector(77); for(n=2, 108000, t=A243473(n); if(t<=#v && !v[t], v[t]=n)); concat(1, v) \\ Charles R Greathouse IV, Jun 05 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Jun 05 2014
EXTENSIONS
a(42)-a(67) from Charles R Greathouse IV, Jun 05 2014
STATUS
approved