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.

A328766 Number of nonleading zeros in primorial base expansion of A276086(n).

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Oct 28 2019

Keywords

Crossrefs

Programs

  • PARI
    A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
    A328620(n) = { my(s=0, p=2); while(n, s += (0==(n%p)); n = n\p; p = nextprime(1+p)); (s); };
    A328766(n) = A328620(A276086(n));

Formula

a(n) = A328620(A276086(n)) = A079067(A276087(n)).
a(n) = A001221(A328763(n)) - 1.
For all n >= 1, a(A143293(n-1)) = n. [Note however that these are not the first occurrences of each n, that is, A143293 does not give the indices of records]