OFFSET
1,1
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..1000
EXAMPLE
n = pqrstw, p<q<r<s<t<w, primes, p+q+r+s+t+w = kt; n = 106590 = 2*3*5*11*17*19; sum = 2+3+5+11+17+19 = 57 = 3*19 (quotient=3) (Corrected Mar 06 2006.)
MATHEMATICA
ffi[x_] := Flatten[FactorInteger[x]] lf[x_] := Length[FactorInteger[x]] ba[x_] := Table[Part[ffi[x], 2*w-1], {w, 1, lf[x]}] sb[x_] := Apply[Plus, ba[x]] ma[x_] := Part[Reverse[Flatten[FactorInteger[x]]], 2] amo[x_] := Abs[MoebiusMu[x]] Do[s=sb[n]/ma[n]; If[IntegerQ[s]&&Equal[lf[n], 6]&& !Equal[amo[n], 0], Print[{n, ba[n]}]], {n, 2, 1000000}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, May 13 2002
STATUS
approved