OFFSET
1,2
COMMENTS
Where record values of Sum_{d|n} 1/sigma(d) occur.
EXAMPLE
For n = 4; a(4) = 6 because 6 is the smallest number such that Sum_{d|a(4)} 1/sigma(d) = Sum_{d|6} 1/sigma(d) = 5/3 > Sum_{d|a(3)} 1/sigma(d) = Sum_{d|4} 1/sigma(d) = 31/21.
PROG
(Magma) a:=1; S:=[a]; for n in [2..25] do k:=0; flag:= true; while flag do k+:=1; if &+[1/SumOfDivisors(d): d in Divisors(a)] lt &+[1/SumOfDivisors(d): d in Divisors(k)] then Append(~S, k); a:=k; flag:=false; end if; end while; end for; S;
(PARI) b(n)={sumdiv(n, d, 1/sigma(d)); }
{ my(m=0); for(n=1, 1e6, if(b(n)>m, m=b(n); print1(n, ", "))) } \\ Andrew Howroyd, Nov 11 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Dec 24 2015
EXTENSIONS
a(35)-a(47) from Andrew Howroyd, Nov 11 2018
STATUS
approved