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.

A373367 a(n) is the greatest common divisor of A001414(n), A003415(n), and A276085(n).

Original entry on oeis.org

0, 1, 1, 2, 1, 1, 1, 3, 2, 7, 1, 1, 1, 1, 8, 4, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 5, 2, 1, 12, 2, 1, 1, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 4, 1, 1, 1, 8, 1, 2, 1, 1, 2, 1, 1, 1, 6, 6, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 6, 1, 1, 1, 4, 1, 1, 2, 2, 1, 8, 1, 1, 1, 20, 1, 2, 1, 12, 1, 1, 1, 1, 14, 1, 1, 1, 1, 1
Offset: 1

Views

Author

Antti Karttunen, Jun 03 2024

Keywords

Comments

All sequences that give the positions of multiples of some natural number k in this sequence are closed under multiplication because the constituent sequences A001414, A003415, and A276085 also have the same property.
A345452 gives the positions of even terms in this sequence, because it gives them for A373362, and because for A373145 and A373364 the positions of even terms are given by A368998 (union of A345452 and 2*A358776) and A373375 (union of A345452 and 8*A345452), thus both are supersets of A345452.

Crossrefs

Cf. A001414, A003415, A276085, A345452 (gives the positions of even terms).
Greatest common divisor of any two of these three: A373145, A373362, A373364.

Programs

  • PARI
    A001414(n) = ((n=factor(n))[, 1]~*n[, 2]); \\ From A001414.
    A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));
    A276085(n) = { my(f = factor(n)); sum(k=1, #f~, f[k, 2]*prod(i=1,primepi(f[k, 1]-1),prime(i))); };
    A373367(n) = gcd([A001414(n), A003415(n), A276085(n)]);

Formula

a(n) = gcd(A373145(n), A373362(n)) = gcd(A373145(n), A373364(n)) = gcd(A373362(n), A373364(n)).