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.

A347964 Greatest common divisor of A003415 (arithmetic derivative) and A003961 (prime shift towards larger primes).

Original entry on oeis.org

1, 1, 1, 1, 1, 5, 1, 3, 1, 7, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 5, 13, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 19, 1, 15, 1, 3, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 3, 5, 1, 1, 3, 1, 1, 1, 31, 1, 1, 1, 3, 1, 3, 1, 1, 1, 9, 1, 1, 1, 3, 1, 3, 5, 1, 1, 1, 1, 1, 1, 43, 1, 1, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 11, 25, 7
Offset: 1

Views

Author

Antti Karttunen, Sep 25 2021

Keywords

Crossrefs

Programs

  • PARI
    A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
    A003961(n) = { my(f = factor(n)); for(i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
    A347964(n) = gcd(A003415(n), A003961(n));

Formula

a(n) = gcd(A003415(n), A003961(n)).
a(n) = gcd(A003415(n), A348937(n)) = gcd(A003961(n), A348937(n)). - Antti Karttunen, Dec 06 2021