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.

A306682 a(n) = gcd(sigma(n), pod(n)) where sigma(k) = the sum of the divisors of k (A000203) and pod(k) = the product of the divisors of k (A007955).

Original entry on oeis.org

1, 1, 1, 1, 1, 12, 1, 1, 1, 2, 1, 4, 1, 4, 3, 1, 1, 3, 1, 2, 1, 4, 1, 12, 1, 2, 1, 56, 1, 72, 1, 1, 3, 2, 1, 1, 1, 4, 1, 10, 1, 48, 1, 4, 3, 4, 1, 4, 1, 1, 9, 2, 1, 24, 1, 8, 1, 2, 1, 24, 1, 4, 1, 1, 1, 144, 1, 2, 3, 16, 1, 3, 1, 2, 1, 4, 1, 24, 1, 2, 1, 2, 1
Offset: 1

Views

Author

Jaroslav Krizek, Mar 05 2019

Keywords

Comments

See A324527(n) = the smallest numbers k such that a(k) = n.

Examples

			For n=6: a(6) = gcd(tau(6), pod(6)) = gcd(4, 36) = 4.
		

Crossrefs

Programs

  • Magma
    [GCD(SumOfDivisors(n), &*[d: d in Divisors(n)]): n in [1.. 100]]
    
  • PARI
    a(n) = my(d=divisors(n)); gcd(vecsum(d), vecprod(d)); \\ Michel Marcus, Mar 05 2019

Formula

a(n) = 1 for numbers in A014567.
a(n) = tau(n) for numbers in A324526.