OFFSET
1,2
COMMENTS
a(1)=1; for n>=2, a(n) = composite numbers that are a product of distinct Mersenne primes (A046528).
Also nonprime numbers n such that A051027(n) = sigma(sigma(n)) = 2*sigma(n)-1 = 2^(k+1)-1 for some k. If n is composite number (product of distinct Mersenne primes) then k is the sum of Mersenne exponents (A000043) of these distinct Mersenne primes. Example: 651 = 3*7*31 = (2^2-1)*(2^3-1)*(2^5-1); k=2+3+5=10; A051027(651) = sigma(sigma(651)) = 2^(10+1)-1 = 2047.
EXAMPLE
651 = 3*7*31 (product of three distinct Mersenne primes); sigma(651) = 1024 = 2^10.
PROG
(Magma) [n: n in [1..10^6] | not IsPrime(n) and SumOfDivisors(SumOfDivisors(n)) eq 2*SumOfDivisors(n) - 1]
(Magma)[n: n in[1..10000], k in [0..100] | not IsPrime(n) and SumOfDivisors(n) eq 2^k]
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Feb 02 2015
STATUS
approved