OFFSET
1,7
COMMENTS
The possible values of the sigma (sum of divisors) function are in A002191. Value A002191(n) occurs exactly a(n) times. Because sigma(x) >= x+1 (for x>1) with equality only at prime x, we know that for prime p, sigma(p) is the last time p+1 occurs as a value of sigma. This sequence is the same as A054973 without the zero terms.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
MATHEMATICA
Transpose[Sort[Tally[DivisorSigma[1, Range[Prime[PrimePi[200]]]]]]][[2]]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Mar 18 2011
STATUS
approved