OFFSET
1,1
COMMENTS
Since s=0 if k is odd, the number k is necessarily even and then s is always a multiple of r. Note that t=r+s may not be a divisor even if both r and s are divisors. For example, if k=144, then r=3, s=12, but t=r+s=15.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = n is even, r = number of odd divisors of n, s = number of even divisors of n, are all divisors of n.
EXAMPLE
16 is a term since r=1 and s=4 are both divisors.
MAPLE
with(numtheory); A:=[]: N:=10^4/2: for w to 1 do for k from 2 to N do n:=2*k; S:=divisors(n); r:=nops( select(z->type(z, odd), S) ); s:=nops( select(z->type(z, even), S) ); if andmap(z -> n mod z = 0, [r, s]) then A:=[op(A), n]; print(n, r, s); fi; od od; A;
MATHEMATICA
aQ[n_] := Divisible[n, (ev = DivisorSigma[0, n/2])] && Divisible[n, DivisorSigma[0, n] - ev]; Select[Range[2, 206, 2], aQ] (* Amiram Eldar, Nov 02 2019 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Walter Kehowski, Jun 24 2006
EXTENSIONS
Term 2 inserted by Amiram Eldar, Nov 02 2019
STATUS
approved