OFFSET
1,1
FORMULA
EXAMPLE
The first pair of consecutive odd primes is 3,5, with average = 4 and sigma(4) = 7. Hence a(1) = 7. The second pair of consecutive odd primes is 5,7, with average = 6 and sigma(6) = 12, so a(2) = 12.
MATHEMATICA
Table[DivisorSigma[1, (Prime[i] + Prime[i + 1])/2], {i, 2, 101}]
DivisorSigma[1, Mean[#]]&/@Partition[Prime[Range[2, 60]], 2, 1] (* Harvey P. Dale, Dec 07 2013 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Joseph L. Pe, Jan 11 2003
STATUS
approved