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.

A331286 Odd part of number of divisors of primorial inflation of n: a(n) = A000265(A329605(n)).

Original entry on oeis.org

1, 1, 1, 3, 1, 3, 1, 1, 9, 3, 1, 1, 1, 3, 9, 5, 1, 3, 1, 1, 9, 3, 1, 5, 27, 3, 1, 1, 1, 3, 1, 3, 9, 3, 27, 15, 1, 3, 9, 5, 1, 3, 1, 1, 1, 3, 1, 3, 81, 9, 9, 1, 1, 5, 27, 5, 9, 3, 1, 15, 1, 3, 1, 7, 27, 3, 1, 1, 9, 9, 1, 9, 1, 3, 3, 1, 81, 3, 1, 3, 25, 3, 1, 15, 27, 3, 9, 5, 1, 5, 81, 1, 9, 3, 27, 7, 1, 27, 1, 45, 1, 3, 1, 5, 3
Offset: 1

Views

Author

Antti Karttunen, Jan 14 2020

Keywords

Crossrefs

Programs

  • PARI
    A331286(n) = if(1==n,1,my(f=factor(n),e=1,m=1); forstep(i=#f~,1,-1, e += f[i,2]; m *= (e>>valuation(e,2))^(primepi(f[i,1])-if(1==i,0,primepi(f[i-1,1])))); (m));

Formula

a(n) = A000265(A329605(n)).
a(n) = A212181(A108951(n)).