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.

A327979 a(n) = gcd(n, A002322(n)), where A002322 is Carmichael lambda, also known as psi.

Original entry on oeis.org

1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 1, 2, 1, 2, 1, 4, 1, 6, 1, 4, 3, 2, 1, 2, 5, 2, 9, 2, 1, 2, 1, 8, 1, 2, 1, 6, 1, 2, 3, 4, 1, 6, 1, 2, 3, 2, 1, 4, 7, 10, 1, 4, 1, 18, 5, 2, 3, 2, 1, 4, 1, 2, 3, 16, 1, 2, 1, 4, 1, 2, 1, 6, 1, 2, 5, 2, 1, 6, 1, 4, 27, 2, 1, 6, 1, 2, 1, 2, 1, 6, 1, 2, 3, 2, 1, 8, 1, 14, 3, 20, 1, 2, 1, 4, 3
Offset: 1

Views

Author

Antti Karttunen, Oct 04 2019

Keywords

Crossrefs

Programs

  • Mathematica
    Array[GCD[#, CarmichaelLambda[#]] &, 100] (* Amiram Eldar, Oct 04 2019 *)
  • PARI
    A327979(n) = gcd(n, lcm(znstar(n)[2]));

Formula

a(n) = gcd(n, A002322(n)).