OFFSET
1,1
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..8000
EXAMPLE
sigma(3)/3 = 4/3 (even/odd).
MATHEMATICA
Select[Range[1000], EvenQ[Numerator[DivisorSigma[1, #] / # ]] && OddQ[Denominator[DivisorSigma[1, #]/#]]&] (* Vincenzo Librandi, Jun 24 2014 *)
nedoQ[n_]:=Module[{ds=DivisorSigma[1, n]/n}, EvenQ[Numerator[ds]]&&OddQ[ Denominator[ ds]]]; Select[Range[200], nedoQ] (* Harvey P. Dale, Feb 28 2015 *)
PROG
(PARI) eoab(n) = {for (i=1, n, ab = sigma(i)/i; if ((numerator(ab) % 2 == 0) && (denominator(ab) % 2 == 1), print1(i, ", ")); ); }
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Michel Marcus, Sep 16 2012
STATUS
approved