OFFSET
1,1
COMMENTS
EXAMPLE
8 is in the sequence because the even divisors of 8 are 2, 4, 8 and 1/2 + 1/4 + 1/8 = 7/8 = A204823(4)/a(4).
MAPLE
***program 1 where sum of reciprocals even divisors < 1***
with(numtheory):for n from 2 by 2 to 500 do:x:=divisors(n):n1:=nops(x): s:=0:for i from 1 to n1 do: if irem(x[i], 2)=0 then s:=s+1/x[i]:else fi:od: if s<1 then printf(`%d, `, n):else fi:od:
***program 2 where sum of reciprocals even divisors = m/n***
with(numtheory):for n from 2 to 500 do:x:=divisors(n):n1:=nops(x): s:=0:for i from 1 to n1 do: if irem(x[i], 2)=0 then s:=s+1/x[i]:else fi:od: for m from 1 to n-1 do: if s=m/n then printf(`%d, `, n):else fi:od:od:
MATHEMATICA
Select[Range[200], 0<Total[1/Select[Divisors[#], EvenQ]]<1&] (* Harvey P. Dale, Jan 10 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jul 25 2013
EXTENSIONS
Definition corrected by Harvey P. Dale, Jan 10 2024
STATUS
approved