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.

Showing 1-2 of 2 results.

A373381 a(n) = gcd(bigomega(n), A056239(n)), where bigomega is number of prime factors with repetition, and A056239 is fully additive with a(p) = primepi(p).

Original entry on oeis.org

0, 1, 1, 2, 1, 1, 1, 3, 2, 2, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 3, 3, 1, 3, 1, 5, 1, 2, 1, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 2, 1, 6, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 4, 2, 1, 4, 2, 1, 2, 4, 1, 4, 2, 1, 1, 2, 1, 1, 1, 3, 3, 4, 1, 1, 1, 1, 3
Offset: 1

Views

Author

Antti Karttunen, Jun 06 2024

Keywords

Comments

As A001222 and A056239 are both fully additive sequences, all sequences that give the positions of multiples of some natural number k in this sequence are closed under multiplication, i.e., are multiplicative semigroups; for example A340784.

Crossrefs

Cf. A001222, A056239, A340784 (positions of even terms), A353331 (their characteristic function).
Cf. also A354871, A373370.

Programs

  • PARI
    A056239(n) = if(1==n, 0, my(f=factor(n)); sum(i=1, #f~, f[i, 2] * primepi(f[i, 1])));
    A373381(n) = gcd(bigomega(n), A056239(n));

Formula

a(n) = gcd(A001222(n), A056239(n)).

A373382 a(n) = gcd(A329697(n), A331410(n)), where A329697, A331410 give the number of iterations needed to reach a power of 2, when using the map n -> n-(n/p), or respectively, n -> n+(n/p), where p is the largest prime factor of n.

Original entry on oeis.org

0, 0, 1, 0, 1, 1, 1, 0, 2, 1, 2, 1, 2, 1, 1, 0, 1, 2, 3, 1, 1, 2, 1, 1, 2, 2, 3, 1, 1, 1, 1, 0, 3, 1, 3, 2, 1, 3, 3, 1, 1, 1, 1, 2, 1, 1, 2, 1, 2, 2, 2, 2, 1, 3, 1, 1, 4, 1, 4, 1, 1, 1, 1, 0, 1, 3, 4, 1, 1, 3, 1, 2, 1, 1, 1, 3, 1, 3, 1, 1, 4, 1, 3, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 4, 2, 1, 2, 3, 2, 4
Offset: 1

Views

Author

Antti Karttunen, Jun 06 2024

Keywords

Comments

As A329697 and A331410 are both fully additive sequences, all sequences that give the positions of multiples of some natural number k in this sequence are closed under multiplication, i.e., are multiplicative semigroups.

Crossrefs

Programs

Formula

a(n) = gcd(A329697(n), A334861(n)) = gcd(A331410(n), A334861(n)).
a(n) = gcd(A329697(n), A335877(n)) = gcd(A331410(n), A335877(n)).
Showing 1-2 of 2 results.