[go: up one dir, main page]

login
Revision History for A066191 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Numbers n such that the sum of the odd aliquot parts of n divides n.
(history; published version)
#14 by Joerg Arndt at Mon Apr 06 04:11:00 EDT 2015
STATUS

reviewed

approved

#13 by Michel Marcus at Mon Apr 06 03:46:54 EDT 2015
STATUS

proposed

reviewed

#12 by Joerg Arndt at Mon Apr 06 03:24:51 EDT 2015
STATUS

editing

proposed

Discussion
Mon Apr 06
03:46
Michel Marcus: oh dear me.
#11 by Joerg Arndt at Mon Apr 06 03:24:46 EDT 2015
MAPLE

with(numtheory):soa:=proc(n) local div, s, j: div:=convert(divisors(n), list): s:=0: for j from 1 to nops(div)-1 do if div[j] mod 2=1 then s:=s+div[j] else s:=s: fi: od: end: p:=proc(n) if type(n/soa(n), integer)=true then n else fi end: seq(p(n), n=1..240); (* _# _Emeric Deutsch_, Feb 26 2005 *)

STATUS

proposed

editing

#10 by Michel Marcus at Mon Apr 06 00:55:54 EDT 2015
STATUS

editing

proposed

#9 by Michel Marcus at Mon Apr 06 00:55:41 EDT 2015
LINKS

Harry J. Smith, <a href="/A066191/b066191.txt">Table of n, a(n) for n=1,...,1000</a>

MAPLE

with(numtheory):soa:=proc(n) local div, s, j: div:=convert(divisors(n), list): s:=0: for j from 1 to nops(div)-1 do if div[j] mod 2=1 then s:=s+div[j] else s:=s: fi: od: end: p:=proc(n) if type(n/soa(n), integer)=true then n else fi end: seq(p(n), n=1..240); (* _Emeric Deutsch_, Feb 26 2005 *)

PROG

(PARI) { n=0; for (m=2, 10^9, d=divisors(m); s=1; for (i=2, numdiv(m) - 1, if (d[i]%2, s += d[i])); if (s > 0 && m%s == 0, write("b066191.txt", n++, " ", m); if (n==1000, return)) ) } [From _\\ _Harry J. Smith_, Feb 05 2010]

(PARI) isok(n) = !(n % sumdiv(n, d, d*(d%2)*(d!=n))); \\ Michel Marcus, Apr 06 2015

STATUS

approved

editing

#8 by Russ Cox at Fri Mar 30 17:35:52 EDT 2012
EXTENSIONS

More terms from _Emeric Deutsch (deutsch(AT)duke.poly.edu), _, Feb 26 2005

Discussion
Fri Mar 30
17:35
OEIS Server: https://oeis.org/edit/global/173
#7 by Russ Cox at Fri Mar 30 17:30:37 EDT 2012
AUTHOR

_Robert G. Wilson v (rgwv(AT)rgwv.com), _, Dec 15 2001

Discussion
Fri Mar 30
17:30
OEIS Server: https://oeis.org/edit/global/156
#6 by Russ Cox at Fri Mar 30 17:24:35 EDT 2012
PROG

(PARI) { n=0; for (m=2, 10^9, d=divisors(m); s=1; for (i=2, numdiv(m) - 1, if (d[i]%2, s += d[i])); if (s > 0 && m%s == 0, write("b066191.txt", n++, " ", m); if (n==1000, return)) ) } [From _Harry J. Smith (hjsmithh(AT)sbcglobal.net), _, Feb 05 2010]

Discussion
Fri Mar 30
17:24
OEIS Server: https://oeis.org/edit/global/133
#5 by N. J. A. Sloane at Thu Nov 11 07:34:06 EST 2010
LINKS

Harry J. Smith, <a href="/A066191/b066191.txt">Table of n, a(n) for n=1,...,1000</a>

KEYWORD

nonn,easy,new