The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A328856 Number of factorizations of n into distinct numbers with an odd number of distinct prime factors. 2
1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 3, 1, 1, 1, 4, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 2, 1, 1, 3, 1, 1, 1, 2, 1, 3, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 2, 1, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
FORMULA
Dirichlet g.f.: Product_{k>=1} (1 + A030230(k)^(-s)).
a(n) <= A045778(n). - Antti Karttunen, Oct 29 2019
EXAMPLE
a(32) = 3 because 32 = 4 * 8 = 2 * 16.
PROG
(PARI) seq(n)={my(v=vector(n, k, k==1)); for(k=2, n, if(omega(k)%2, my(m=logint(n, k), p=(1 + x + O(x*x^m)), w=vector(n)); for(i=0, m, w[k^i]=polcoef(p, i)); v=dirmul(v, w))); v} \\ Andrew Howroyd, Oct 29 2019, In older versions of PARI, use polcoeff instead of polcoef. - Antti Karttunen, Oct 29 2019
(PARI) A328856(n, k=n) = (((n<=k)&&((1==n)||(omega(n)%2))) + sumdiv(n, d, if(d > 1 && d <= k && d < n && (omega(d)%2), A328856(n/d, d-1)))); \\ Antti Karttunen, Oct 29 2019
CROSSREFS
Sequence in context: A050361 A072911 A325988 * A053150 A295657 A163379
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 28 2019
EXTENSIONS
More terms from Antti Karttunen, Oct 29 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 03:59 EDT 2024. Contains 372549 sequences. (Running on oeis4.)