OFFSET
1,2
COMMENTS
A051674 is a subsequence of this sequence.
FORMULA
n = Sum_{j=1..k} (n+j-1)', for some k >= 1.
EXAMPLE
k=1: n=27 -> 27 = 27'.
k=2: n=33 -> 33 = 33' + 34' = 14 + 19.
k=3: n=1957 -> 1957 = 1957' + 1958' + 1959' = 122 + 1179 + 656.
MAPLE
MATHEMATICA
dn[0] = 0; dn[1] = 0; dn[n_?Negative] := -dn[-n]; dn[n_] := Module[{f = Transpose[FactorInteger[n]]}, If[PrimeQ[n], 1, Plus @@ (n*f[[2]]/f[[1]])]]; t = {}; Do[k = n; sm = dn[n]; While[sm < n, k++; sm = sm + dn[k]]; If[sm == n, AppendTo[t, n]], {n, 100000}]; t (* T. D. Noe, Jan 04 2013 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Paolo P. Lava, Jan 03 2013
EXTENSIONS
a(23)-a(24) from Donovan Johnson, Jan 26 2013
STATUS
approved