OFFSET
1,1
COMMENTS
4 is the only number k such that k-1 and sigma(k) are both primes.
Conjectures: (1) sequence is finite; (2) a(n) + 1 is a Fermat prime (A019434); (3) sigma(a(n)) is a Mersenne prime (A000668).
Subsequence of A023194, and by a comment in that entry it follows that each term is a prime power. From that conjectures (2) and (3) above easily follow. - Jeppe Stig Nielsen, Jan 13 2015
FORMULA
a(n) = A249759(n) - 1.
EXAMPLE
16 is a term because 16+1=17 and sigma(16)=31 are both primes.
MATHEMATICA
Select[Range[10^5], PrimeQ[# + 1]&& PrimeQ[DivisorSigma[1, #]] &] (* Vincenzo Librandi, Nov 14 2014 *)
PROG
(Magma) [n: n in [1..10^8] | IsPrime(n+1) and IsPrime(SumOfDivisors(n))]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Jaroslav Krizek, Nov 13 2014
STATUS
approved