cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A002659 a(n) = 2*sigma(n) - 1.

Original entry on oeis.org

1, 5, 7, 13, 11, 23, 15, 29, 25, 35, 23, 55, 27, 47, 47, 61, 35, 77, 39, 83, 63, 71, 47, 119, 61, 83, 79, 111, 59, 143, 63, 125, 95, 107, 95, 181, 75, 119, 111, 179, 83, 191, 87, 167, 155, 143, 95, 247, 113, 185, 143, 195, 107, 239, 143, 239, 159, 179, 119, 335, 123, 191
Offset: 1

Views

Author

Keywords

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).

Crossrefs

A row of the array in A242639.

Programs

  • Mathematica
    2DivisorSigma[1,Range[70]]-1 (* Harvey P. Dale, Apr 14 2014 *)
  • PARI
    a(n)=if(n<1,0,2*sigma(n)-1)

Formula

G.f. for Moebius transf.: (x + 2x^2 - x^3 ) / (1 - x )^2.
a(n) = A074400(n) - 1. - Filip Zaludek, Oct 30 2016

Extensions

Better definition from Ralf Stephan, Nov 18 2004