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.

A324815 a(n) = 2*A156552(n) AND A323243(n), where AND is bitwise-and, A004198.

Original entry on oeis.org

0, 0, 0, 4, 0, 2, 0, 8, 12, 0, 0, 4, 0, 2, 16, 24, 0, 10, 0, 4, 36, 0, 0, 8, 24, 0, 24, 0, 0, 32, 0, 32, 4, 0, 40, 32, 0, 2, 128, 8, 0, 2, 0, 4, 36, 0, 0, 16, 48, 18, 4, 4, 0, 26, 72, 8, 512, 2, 0, 4, 0, 0, 12, 104, 8, 0, 0, 0, 4, 2, 0, 72, 0, 0, 32, 0, 80, 0, 0, 16, 8, 0, 0, 20, 256, 0, 2048, 0, 0, 74, 128, 0, 0, 0, 520, 56, 0, 32, 128, 64, 0, 2, 0, 8, 64
Offset: 1

Views

Author

Antti Karttunen, Mar 17 2019

Keywords

Crossrefs

Programs

Formula

a(n) = 2*A156552(n) AND A323243(n), where AND is A004198.
a(n) = 2*A156552(n) - A324716(n) = 2*A156552(n) XOR A324716(n), where XOR is A003987.
For n > 1, a(n) = A318468(A156552(n)).
a(p) = 0 for all primes p.
a(A324201(n)) = A139256(n).
A000120(a(n)) = A324816(n).

A324868 Binary weight of A324398(n).

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Mar 18 2019

Keywords

Crossrefs

Programs

  • PARI
    A156552(n) = {my(f = factor(n), p2 = 1, res = 0); for(i = 1, #f~, p = 1 << (primepi(f[i, 1]) - 1); res += (p * p2 * (2^(f[i, 2]) - 1)); p2 <<= f[i, 2]); res}; \\ From A156552
    A324398(n) = { my(k=A156552(n)); bitand(k,(A323243(n)-k)); }; \\ Needs also code from A323243.
    A324868(n) = hammingweight(A324398(n));

Formula

a(n) = A000120(A324398(n)).
Showing 1-2 of 2 results.