OFFSET
1,2
COMMENTS
Most of the terms in this sequence are even.
Up to 10^7 there are 102 terms out of which 7 are odd.
There are two terms, 6 and 496, for which (2*k - 1) is a prime number.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
EXAMPLE
6 is in the sequence because the sum of divisors of 6: (1 + 2 + 3 + 6 = 12); equals the sum of divisors of 11 = 2*6 - 1: (1 + 11 = 12).
348 is in the sequence because the sum of divisors of 348: (1 + 2 + 3 + 4 + 6 + 12 + 29 + 58 + 87 + 116 + 174 + 348 = 840); equals the sum of divisors of (2*348 - 1 = 695): (1 + 5 + 139 + 695 = 840).
MAPLE
with(numtheory): select(t -> sigma(t) = sigma(2*t-1), [$1..10^6]);
MATHEMATICA
Select[Range[10^7], DivisorSigma[1, #] == DivisorSigma[1, 2 # - 1] &]
PROG
(PARI) for (n = 1, 1e7, (sigma(n)==sigma(2*n-1)) && print1(n ", "));
(Magma) [n : n in [1..10^6] | SumOfDivisors(n) eq SumOfDivisors(2*n-1)];
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Jul 10 2017
STATUS
approved