|
|
A257720
|
|
Down-up reversals: if n is deficient and s(n) is nondeficient, where s(n) is the sum of proper divisors of n.
|
|
3
|
|
|
25, 34, 44, 74, 81, 106, 121, 124, 134, 184, 194, 202, 218, 268, 274, 284, 289, 314, 346, 361, 386, 394, 441, 514, 524, 529, 538, 554, 590, 604, 625, 634, 652, 674, 694, 698, 716, 724, 729, 752, 764, 778, 790, 794, 824, 841, 844, 884, 914, 922, 950, 974, 988
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Larger member of amicable pairs (A002046) belong to this sequence.
|
|
LINKS
|
|
|
EXAMPLE
|
284 is deficient and its sum of proper divisors is 220 which in turn is nondeficient. Hence 284 is in the sequence.
|
|
MATHEMATICA
|
spd[n_]:=DivisorSigma[1, n]-n; Select[Range[988], spd[#]<#&&spd[spd[#]]>=spd[#]&] (* Ivan N. Ianakiev, May 06 2015 *)
|
|
PROG
|
(PARI) isok(n) = (sn = sigma(n)-n) && (sn < n) && (sigma(sn) >= 2*sn);
(Haskell)
a257720 n = a257720_list !! (n-1)
a257720_list = filter f [1..] where
f x = sx > 0 && sx < x && a001065 sx >= sx where sx = a001065 x
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|