OFFSET
1,1
COMMENTS
Complement of A005153 (practical numbers).
Numbers n such that A030057(n) < n.
First differs from A237046 at a(48).
First differs from A238524 at a(55). - Omar E. Pol, Mar 09 2014
LINKS
Jaroslav Krizek, Table of n, a(n) for n = 1..5000
EXAMPLE
5 is in the sequence because there are 3 numbers <= sigma(5) = 6 that are not a sum of any subset of distinct divisors of 5: 2, 3 and 4.
PROG
(Python)
from itertools import count, islice
from sympy import factorint
def A237287_gen(startvalue=1): # generator of terms
for m in count(max(startvalue, 1)):
if m > 1:
l = (~m & m-1).bit_length()
if l>0:
P = (1<<l+1)-1
for p, e in factorint(m>>l).items():
if p > 1+P:
yield m
break
P *= (p**(e+1)-1)//(p-1)
else:
yield m
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Mar 02 2014
STATUS
approved