OFFSET
1,1
COMMENTS
Supersequence of A014574 for k = n/2 (average of twin prime pairs).
Corresponding values of integers k: 2, 1, 3, 3, -10, 6, 9, 15, 2, 21, 3, 7, 30, 36, -101, 51, 54, -43, 69, 12, 75, -2, -22, 90, 96, 99, 17, -27, -5, 114, 120, 7, 135, 141, 156, 174, 2, 210, 216, 231, 261, -8, 285, 300, 309, 321, 9, 330, -18, 405, 411, 414, 429, 441, 75, 510, ... (supersequence of A040040).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
Number 5 is in sequence because sigma(6) - sigma(4) = 12 - 7 = 5; k=1.
MATHEMATICA
Select[Range[1000], DivisorSigma[1, # + 1] - DivisorSigma[1, # - 1] != 0 && IntegerQ[#/(DivisorSigma[1, # + 1] - DivisorSigma[1, # - 1])] &] (* T. D. Noe, May 02 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, May 01 2013
STATUS
approved