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.

A241479 GCD of the solutions x of sigma(x) = sigma(n), where sigma(n) = A000203(n) = sum of divisors of n.

Original entry on oeis.org

1, 2, 3, 4, 5, 1, 7, 8, 9, 1, 1, 12, 13, 1, 1, 1, 1, 18, 19, 1, 1, 22, 1, 1, 1, 1, 27, 1, 29, 1, 1, 32, 1, 1, 1, 36, 37, 1, 1, 1, 1, 1, 43, 1, 45, 1, 1, 3, 49, 50, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 61, 1, 1, 64, 1, 1, 67, 2, 1, 1, 1, 72, 73, 1, 3, 1, 1, 1, 1, 2
Offset: 1

Views

Author

Michel Marcus, Apr 23 2014

Keywords

Comments

A variant of A240667 without zeros.

Examples

			a(6) = 1 since sigma(6) = 12 and sigma(11) = 12 and gcd(6, 11) = 1.
		

Crossrefs

Programs

  • PARI
    sigv(n) =  select(i->sigma(i) == n, vector(n, i, i));
    a(n) = gcd(sigv(sigma(n)));
    
  • PARI
    a(n) = gcd(invsigma(sigma(n))); \\ Amiram Eldar, Dec 19 2024, using Max Alekseyev's invphi.gp

Formula

a(n) = A240667(A000203(n)).