OFFSET
1,2
REFERENCES
P. A. MacMahon, The connexion between the sum of the squares of the divisors and the number of partitions of a given number, Messenger Math., 54 (1924), 113-116. Collected Papers, MIT Press, 1978, Vol. I, pp. 1364-1367.
N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
N. J. A. Sloane, Transforms
FORMULA
G.f. for Moebius transf.: (x + 2x^2 - x^3 ) / (1 - x )^2.
a(n) = A074400(n) - 1. - Filip Zaludek, Oct 30 2016
MATHEMATICA
2DivisorSigma[1, Range[70]]-1 (* Harvey P. Dale, Apr 14 2014 *)
PROG
(PARI) a(n)=if(n<1, 0, 2*sigma(n)-1)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
EXTENSIONS
Better definition from Ralf Stephan, Nov 18 2004
STATUS
approved