OFFSET
1,4
COMMENTS
Divisors are in the half-open interval [sqrt(n/2), sqrt(n*2)).
Row sums of A299761. - Omar E. Pol, Jun 11 2022
LINKS
R. J. Mathar, Table of n, a(n) for n = 1..1000
FORMULA
MAPLE
A071090 := proc(n)
a := 0 ;
for d in numtheory[divisors](n) do
if d^2 >= n/2 and d^2 < n*2 then
a := a+d ;
end if;
end do:
a;
end proc: # R. J. Mathar, Jun 18 2015
MATHEMATICA
Table[Plus @@ Select[ Divisors[n], Sqrt[n/2] <= # < Sqrt[n*2] &], {n, 1, 95}]
PROG
(PARI) a(n)=sumdiv(n, d, if(d^2>=n/2 && d^2<2*n, d, 0)) \\ Charles R Greathouse IV, Aug 01 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, May 27 2002
STATUS
approved