OFFSET
1,1
COMMENTS
A211225(a(n)) > 0. - Reinhard Zumkeller, Jan 06 2013
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
sigma(49) = sigma(8) + sigma(41) that is 57 = 15 + 42.
sigma(93) = sigma(31) + sigma(62) that is 128 = 32 + 96.
In more than one way: sigma(117) = sigma(41) + sigma(76) = sigma(52) + sigma(65) = sigma(56) + sigma(61) that is 182 = 42 + 140 = 98 + 84 = 120 + 62.
MAPLE
MATHEMATICA
sigmaPartitionQ[n_] := With[{s = DivisorSigma[1, n], ip = IntegerPartitions[ n, {2}]}, MemberQ[ip, {x_, y_} /; s == DivisorSigma[ 1, x] + DivisorSigma[ 1, y]]]; Select[Range[160], sigmaPartitionQ] (* Jean-François Alcover, Aug 19 2013 *)
PROG
(PARI) is(n)=my(t=sigma(n)); for(i=1, n\2, if(sigma(i)+sigma(n-i)==t, return(1))) \\ Charles R Greathouse IV, May 04 2012
(Haskell)
a211223 n = a211223_list !! (n-1)
a211223_list = map (+ 1) $ findIndices (> 0) a211225_list
-- Reinhard Zumkeller, Jan 06 2013
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
Paolo P. Lava, Apr 27 2012
STATUS
approved