OFFSET
1,1
LINKS
Harry J. Smith, Table of n, a(n) for n=1..250
EXAMPLE
m=20: divisors(20) = {20,10,5,4,2,1}, sigma_4 = 160000 + 10000 + 625 + 256 + 16 + 1 = 170898, sigma_2 = 400 + 100 + 25 + 16 + 4 + 1 = 546; p = 170898/546 = 73 is prime, the 2nd term.
MATHEMATICA
Do[s=DivisorSigma[4, n]; z=DivisorSigma[2, n]; If[PrimeQ[s/z], Print[{n, s, z, s/z}]], {n, 1, 10000000}] Output=s/z.
Select[Table[DivisorSigma[4, n]/DivisorSigma[2, n], {n, 200000}], PrimeQ] (* Harvey P. Dale, Jan 31 2022 *)
PROG
(PARI) { n=0; for (m=1, 10^9, if (frac(f=sigma(m, 4)/sigma(m, 2)), next); if (isprime(f), write("b066110.txt", n++, " ", f); if (n==250, return)) ) } \\ Harry J. Smith, Feb 01 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Dec 05 2001
STATUS
approved