OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = sigma(2-1) + sigma(2+1) = 1 + 4 = 5. a(3) = sigma(5-1) + sigma(5+1) = 7 + 12 = 19.
MATHEMATICA
f[n_]:=Plus@@Divisors[n]; lst={}; Do[p=Prime[n]; AppendTo[lst, f[p-1]+f[p+1]], {n, 5!}]; lst
DivisorSigma[1, #-1]+DivisorSigma[1, #+1]&/@Prime[Range[60]] (* Harvey P. Dale, Jan 18 2019 *)
PROG
(PARI) apply(p->sigma(p-1)+sigma(p+1), primes(100)) \\ Charles R Greathouse IV, May 30 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Nov 30 2009
STATUS
approved