|
|
A047779
|
|
Abundant or perfect numbers k such that neither k-1 nor k+1 is a prime.
|
|
1
|
|
|
56, 120, 144, 160, 176, 186, 204, 208, 216, 220, 246, 260, 288, 300, 304, 320, 324, 340, 342, 364, 392, 414, 416, 426, 474, 476, 496, 516, 528, 532, 534, 544, 550, 552, 560, 580, 582, 624, 636, 650, 666, 680, 696, 704, 714, 736, 748, 780, 784, 792, 800
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
a(1) = 56 because 55 and 57 are composite and the sum of the divisors of 56 is 64 which is >= 56 and no integer < 56 has this property.
|
|
MATHEMATICA
|
Select[Range[800], DivisorSigma[1, #] >= 2 # && And @@ CompositeQ[# + {-1, 1}] &] (* Amiram Eldar, Feb 09 2020 *)
|
|
PROG
|
(PARI) isok(n) = (sigma(n) >= 2*n) && ! isprime(n-1) && ! isprime(n+1) \\ Michel Marcus, Jun 12 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn
|
|
AUTHOR
|
Tony Davie (ad(AT)dcs.st-and.ac.uk)
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|