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.

A087801 Greatest common divisor of tau(n)+sigma(n) and tau(n)*sigma(n), where tau = A000005 and sigma = A000203.

Original entry on oeis.org

1, 1, 2, 1, 4, 16, 2, 1, 1, 2, 2, 2, 4, 4, 4, 1, 4, 9, 2, 12, 4, 8, 2, 4, 1, 2, 4, 2, 4, 16, 2, 3, 4, 2, 4, 1, 4, 16, 4, 2, 4, 8, 2, 18, 12, 4, 2, 2, 3, 9, 4, 4, 4, 64, 4, 64, 4, 2, 2, 36, 4, 4, 2, 1, 8, 8, 2, 12, 4, 8, 2, 9, 4, 2, 2, 2, 4, 16, 2, 4, 1, 2, 2, 4, 16, 8, 4, 4, 4, 6, 4, 6, 4, 4, 4, 24
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 11 2003

Keywords

Comments

a(n) = GCD(A007503(n), A064840(n)).

Crossrefs

Programs

  • Mathematica
    GCD[Total[#],Times@@#]&/@Table[{DivisorSigma[0,n],DivisorSigma[1,n]},{n,100}] (* Harvey P. Dale, Jul 17 2018 *)
  • PARI
    A087801(n) = gcd(sigma(n)+numdiv(n), sigma(n)*numdiv(n)); \\ Antti Karttunen, May 22 2017