login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A076617 Numbers n such that sum of the divisors d of n divides the sum of the non-divisors d' of n, where 1 <= d, d' <= n. 0
1, 2, 15, 20, 24, 95, 104, 207, 224, 287, 464, 1023, 1199, 1952, 4095, 4607, 8036, 12095, 15872, 16895, 19359, 22932, 23519, 28799, 45440, 45695, 54144, 77375 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

EXAMPLE

The sum of the divisors of 15 is sigma(15) = 24; the sum of the non-divisors of 15 that are between 1 and 15 is 2 + 4 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 = 96. Since 24 divides 96, 15 is a term of the sequence.

MAPLE

with(numtheory);

P:=proc(i)

local a, n;

for n from 1 to i do

  a:=(n*(n+1))/(2*sigma(n))-1; if a=trunc(a) then print(n); fi;

od;

end:

P(10000000000); # Paolo P. Lava, Dec 12 2011

MATHEMATICA

a = {}; Do[ s = DivisorSigma[1, i]; n = (i (i + 1) / 2) - s; If[Mod[n, s] == 0, a = Append[a, i]], {i, 1, 10^5}]; a

CROSSREFS

Cf. A024816.

Sequence in context: A031022 A194542 A076646 * A091791 A143660 A198391

Adjacent sequences:  A076614 A076615 A076616 * A076618 A076619 A076620

KEYWORD

nonn

AUTHOR

Joseph L. Pe (joseph_l_pe(AT)hotmail.com), Oct 22 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 02:51 EST 2012. Contains 205860 sequences.