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-10 of 31 results. Next

A141199 Number of hierarchical ordered partitions of partitions.

Original entry on oeis.org

1, 1, 3, 7, 17, 38, 87, 191, 421, 911, 1963, 4186, 8885, 18724, 39284, 82005, 170521, 353214, 729290, 1501184, 3081869, 6311404, 12896983, 26301515, 53541702, 108815626, 220824295, 447524559, 905850001, 1831526719
Offset: 0

Views

Author

Thomas Wieder, Jun 13 2008, Jun 29 2008, Jul 28 2008

Keywords

Comments

Consider the "ordered partitions of partitions" as described in A055887. They are produced by introducing separators (a term used by J. Riordan) between the parts of a partition. If a partition has P parts, then it is possible to introduce 1, 2, ... P-1 separators. Let "|" denote such a separator. We just append 1,2,...,P-1 separators to each integer partition of n and subsequently form all permutation of the resulting list (which is composed of parts and separators).
There are some rules: If we do not append a separator, then we do not perform any permutation. Furthermore, we do not accept permutations which have a dangling separator in front of the integer parts or past them. E.g. the permutations [|,1,2,3] and [1,2,3,|] are forbidden. Furthermore, sequences of separators as "|,|" are forbidden.
Now we impose a further restriction on the permutations. Consider the elements between two separators. We call their number "occupation number". We just request that the occupation number of a ordered partition is monotonically decreasing (if we start from the left to the right of a permutation written in our notation). If we interpret a separator as a level, then we can speak of a hierarchy. E.g. we do not count [1,|,2,3,|,4] as a hierarchy, but we accept [1,2|,3,4] as a hierarchy. We thus speak of "hierarchically ordered partitions of partitions" for this sequence.
With the generating function f := z -> 1/(mul(1-z^i/mul(1-z^j,j=1..i), i=1..25)); we get the asymptotic expansion using the command equivalent (f(z),z,n);
The result is 3.788561346*exp(-n)^(-log(2)) + O(1/n*exp(-n)^(-log(2))). Let fas := n -> 3.788562346*exp(-n)^(-log(2)); then for n=60 we get fas(60)/A141199(60)= .4367915009e19/4344507472742893655 = 1.005387846.
In short, a(n) is the number of finite sequences of integer partitions with weakly decreasing lengths and total sum n. The case of twice-partitions is A358831. A version choosing compositions is A218482. The strictly decreasing case is A358836. For ordered set partitions we have A005651. For weakly decreasing bigomega see A358335. - Gus Wiseman, Dec 05 2022

Examples

			n=1:
[1]
-------------------------
n=2:
[1, 1],
[1, "|", 1],
[2]
-------------------------
n=3:
[1, 2],
[1, "|", 1, "|", 1],
[1, 1, 1],
[3],
[2, "|", 1],
[1, 1, "|", 1],
[1, "|", 2]
-------------------------
n=4:
[1, 1, 1, "|", 1],
[1, 1, "|", 1, 1],
[2, 2],
[1, 3],
[1, 1, 1, 1],
[1, 1, 2],
[4],
[1, "|", 1, "|", 1, "|", 1],
[1, 2, "|", 1],
[1, 1, "|", 2],
[1, 1, "|", 1, "|", 1],
[2, "|", 1, "|", 1],
[1, "|", 2, "|", 1],
[1, "|", 1, "|", 2],
[1, "|", 3],
[3, "|", 1],
[2, "|", 2].
		

Crossrefs

Programs

  • Maple
    A Maple program to generate these "hierarchically ordered partitions of partitions" is available on request.
    An asymptotic expansion can be found using the generating function given by Vladeta Jovovic. For that purpose we use the Maple program "equivalent" from Bruno Salvy (http://ago.inria.fr/libraries/libraries.html).
  • PARI
    my(N=40, x='x+O('x^N)); Vec(1/prod(k=1, N, 1-x^k/prod(j=1, k, 1-x^j))) \\ Seiichi Manyama, Jan 18 2022

Formula

G.f.: 1/Product_{i>=1} (1-x^i/Product_{j=1..i} (1-x^j)). - Vladeta Jovovic, Jul 16 2008

Extensions

More terms from Vladeta Jovovic, Jul 16 2008
a(0)=1 prepended by Seiichi Manyama, Jan 18 2022

A098407 Number of different hierarchical orderings that can be formed from n unlabeled elements with no repetition of subhierarchies.

Original entry on oeis.org

1, 1, 2, 6, 13, 33, 78, 186, 436, 1028, 2394, 5566, 12877, 29689, 68198, 156194, 356599, 811959, 1843956, 4177436, 9442166, 21295934, 47932572, 107677140, 241443980, 540441068, 1207689636, 2694452060, 6002389882, 13351958546, 29659179804, 65794744420, 145768641091
Offset: 0

Views

Author

Thomas Wieder, Sep 07 2004; corrected Sep 09 2004

Keywords

Comments

a(n) is the number of finite sets of compositions with total sum n. The case of constant sums is A358904, cf. A074854. The case of distinct sums is A304961, ordered A336127. The ordered version (sequences of distinct compositions) is A358907. - Gus Wiseman, Dec 12 2022

Examples

			Let a pair of parentheses () indicate a subhierarchy and let square brackets [] denote a set of subhierarchies, that is, a hierarchy (also called a society). Let the ranks be ordered from left to right and separated by a colon; e.g., (2:3) is a subhierarchy with three elements ("individuals") on top and two elements on the bottom rank.
Then the hierarchical ordering for n = 4 is composed of the following sets: [(1:1),(2)]; [(1),(3)]; [(1),(1:1:1)]; [(1),(2:1)]; [(1),(1:2)]; [(4)]; [(2:2)]; [(1:3)]; [(3:1)]; [(1:1:2)]; [(1:2:1)]; [(2:1:1)]; [(1:1:1:1)]; thus a(4) = 13.
For example, the following hierarchy is not allowed: [(1),(1),(1),(1)] because of the repetition of (1).
		

Crossrefs

A034691 counts multisets of compositions, ordered A133494.
A261049 counts sets of partitions, ordered A358906.

Programs

  • Maple
    main := proc(n::integer) local a, ListOfPartitions, NumberOfPartitions, APartition, APart, ASet, MultipliticityOfAPart, ndxprttn, ndxprt, Term, Produkt; with(combinat): with(ListTools): a := 0; ListOfPartitions := partition(n); NumberOfPartitions := nops(ListOfPartitions); for ndxprttn from 1 to NumberOfPartitions do APartition := ListOfPartitions[ndxprttn]; ASet := convert(APartition,set); Produkt := 1; for ndxprt from 1 to nops(ASet) do APart := op(ndxprt,ASet); MultipliticityOfAPart := Occurrences(APart, APartition); Term := 2^(APart-1); Term := binomial(Term,MultipliticityOfAPart); Produkt := Produkt * Term; # End of do-loop *** ndxprt ***. end do; a := a + Produkt; # End of do-loop *** ndxprttn ***. end do; print("n, a(n):",n,a); end proc;
    PartitionList := proc (n, k) # Authors: # Herbert S. Wilf and Joanna Nordlicht, # Source: # Lecture Notes "East Side West Side,..." # University of Pennsylvania, USA, 2002. # Available from http://www.cis.upenn.edu/~wilf/lecnotes.html # Berechnet die Partitionen von n mit k Summanden. local East, West; if n < 1 or k < 1 or n < k then RETURN([]) elif n = 1 then RETURN([[1]]) else if n < 2 or k < 2 or n < k then West := [] else West := map(proc (x) options operator, arrow; [op(x), 1] end proc, PartitionList(n-1, k-1)) end if; if k <= n-k then East := map(proc(y) options operator, arrow; map(proc (x) options operator, arrow; x+1 end proc, y) end proc, PartitionList(n-k, k)) else East := [] end if; RETURN([op(West), op(East)]) end if end proc;
    # second Maple program:
    series(exp(add((-1)^(j-1)/j*z^j/(1-2*z^j), j=1..40)), z, 40); # Cf. A102866; Vladeta Jovovic, Feb 19 2008
    # alternative Maple program:
    b:= proc(n, i) option remember; `if`(n=0 or i=1, `if`(n>1, 0, 1),
          add(b(n-i*j, i-1)*binomial(2^(i-1), j), j=0..n/i))
        end:
    a:= n-> b(n$2):
    seq(a(n), n=0..32);  # Alois P. Heinz, May 22 2018
  • Mathematica
    terms = 32; CoefficientList[Product[(1 + x^k)^(2^(k-1)), {k, 1, terms+1}] + O[x]^(terms+1), x] // Rest (* Jean-François Alcover, Nov 10 2017, after Vladeta Jovovic *)
    nmax = 40; CoefficientList[Series[Exp[Sum[-(-1)^k*x^k/(k*(1 - 2 x^k)), {k, 1, nmax}]], {x, 0, nmax}], x] (* Vaclav Kotesovec, Jun 08 2018 *)

Formula

a(n) = Sum_{ partitions n = s_1 + ... + s_n } Product_{ Set{s_i} } C(2^(s_i - 1), m(s_i)), where the sum runs over all partitions of n, the product runs over the set of parts of a given partition, s_i is the i-th part in the set of parts, C(k, l) denotes the binomial coefficient and m(s_i) is the multiplicity of part s_i in the given partition.
G.f.: Product_{k>=1} (1+x^k)^(2^(k-1)). - Vladeta Jovovic, Feb 19 2008
a(n) ~ 2^n * exp(sqrt(2*n) - 1/4 + c) / (sqrt(2*Pi) * 2^(3/4) * n^(3/4)), where c = Sum_{k>=2} -(-1)^k / (k*(2^k-2)) = -0.207530918644117743551169251314627032059... - Vaclav Kotesovec, Jun 08 2018
Weigh transform of A011782. - Alois P. Heinz, Jun 25 2018

Extensions

More terms from Alois P. Heinz, Apr 21 2012
a(0)=1 prepended by Alois P. Heinz, May 22 2018

A218481 Binomial transform of the partition numbers (A000041).

Original entry on oeis.org

1, 2, 5, 13, 34, 88, 225, 569, 1425, 3538, 8717, 21331, 51879, 125474, 301929, 723144, 1724532, 4096210, 9693455, 22859524, 53733252, 125919189, 294232580, 685661202, 1593719407, 3695348909, 8548564856, 19732115915, 45450793102, 104481137953, 239718272765
Offset: 0

Views

Author

Paul D. Hanna, Oct 29 2012

Keywords

Comments

Partial sums of A218482.
From Vaclav Kotesovec, Nov 02 2023: (Start)
Let 0 < p < 1, r > 0, v > 0, f(n) = v*exp(r*n^p)/n^b, then
Sum_{k=0..n} binomial(n,k) * f(k) ~ f(n/2) * 2^n * exp(g(n)), where
g(n) = p^2 * r^2 * n^p / (2^(1+2*p)*n^(1-p) + p*r*(1-p)*2^(1+p)).
Special cases:
p < 1/2, g(n) = 0
p = 1/2, g(n) = r^2/16
p = 2/3, g(n) = r^2 * n^(1/3) / (9 * 2^(1/3)) - r^3/81
p = 3/4, g(n) = 9*r^2*sqrt(n)/(64*sqrt(2)) - 27*r^3*n^(1/4)/(2048*2^(1/4)) + 81*r^4/65536
p = 3/5, g(n) = 9*r^2*n^(1/5)/(100*2^(1/5))
p = 4/5, g(n) = 2^(7/5)*r^2*n^(3/5)/25 - 4*2^(3/5)*r^3*n^(2/5)/625 + 8*2^(4/5)*r^4*n^(1/5)/15625 - 32*r^5/390625
(End)

Examples

			G.f.: A(x) = 1 + 2*x + 5*x^2 + 13*x^3 + 34*x^4 + 88*x^5 + 225*x^6 + 569*x^7 +...
The g.f. equals the product:
A(x) = 1/((1-x)-x) * (1-x)^2/((1-x)^2-x^2) * (1-x)^3/((1-x)^3-x^3) * (1-x)^4/((1-x)^4-x^4) * (1-x)^5/((1-x)^5-x^5) * (1-x)^6/((1-x)^6-x^6) * (1-x)^7/((1-x)^7-x^7) *...
and also equals the series:
A(x) = 1/(1-x) * (1  +  x*(1-x)/((1-x)-x)^2  +  x^4*(1-x)^2/(((1-x)-x)*((1-x)^2-x^2))^2  +  x^9*(1-x)^3/(((1-x)-x)*((1-x)^2-x^2)*((1-x)^3-x^3))^2  +  x^16*(1-x)^4/(((1-x)-x)*((1-x)^2-x^2)*((1-x)^3-x^3)*((1-x)^4-x^4))^2 +...).
The terms begin:
a(0) = 1*1,
a(1) = 1*1 + 1*1 = 2;
a(2) = 1*1 + 2*1 + 1*2 = 5;
a(3) = 1*1 + 3*1 + 3*2 + 1*3 = 13;
a(4) = 1*1 + 4*1 + 6*2 + 4*3 + 1*5 = 34; ...
		

Crossrefs

Programs

  • Mathematica
    Table[Sum[Binomial[n,k]*PartitionsP[k],{k,0,n}],{n,0,30}] (* Vaclav Kotesovec, Jun 25 2015 *)
    nmax = 30; CoefficientList[Series[Sum[PartitionsP[k] * x^k / (1-x)^(k+1), {k, 0, nmax}], {x, 0, nmax}], x] (* Vaclav Kotesovec, Jul 31 2022 *)
  • PARI
    {a(n)=sum(k=0,n,binomial(n,k)*numbpart(k))}
    for(n=0,40,print1(a(n),", "))
    
  • PARI
    {a(n)=local(X=x+x*O(x^n));polcoeff(1/(1-X)*prod(k=1,n,(1-x)^k/((1-x)^k-X^k)),n)}
    
  • PARI
    {a(n)=local(X=x+x*O(x^n));polcoeff(1/(1-X)*sum(m=0,n,x^m*(1-x)^(m*(m-1)/2)/prod(k=1,m,((1-x)^k - X^k))),n)}
    
  • PARI
    {a(n)=local(X=x+x*O(x^n));polcoeff(1/(1-X)*sum(m=0,n,x^(m^2)*(1-X)^m/prod(k=1,m,((1-x)^k - x^k)^2)),n)}
    
  • PARI
    {a(n)=local(X=x+x*O(x^n));polcoeff(1/(1-X)*exp(sum(m=1,n+1,x^m/((1-x)^m-X^m)/m)),n)}
    
  • PARI
    {a(n)=local(X=x+x*O(x^n));polcoeff(1/(1-X)*exp(sum(m=1,n+1,sigma(m)*x^m/(1-X)^m/m)),n)}
    
  • PARI
    {a(n)=local(X=x+x*O(x^n));polcoeff(1/(1-X)*prod(k=1,n,(1 + x^k/(1-X)^k)^valuation(2*k,2)),n)}

Formula

G.f.: 1/(1-x)*Product_{n>=1} (1-x)^n / ((1-x)^n - x^n).
G.f.: 1/(1-x)*Sum_{n>=0} x^n * (1-x)^(n*(n-1)/2) / Product_{k=1..n} ((1-x)^k - x^k).
G.f.: 1/(1-x)*Sum_{n>=0} x^(n^2) * (1-x)^n / Product_{k=1..n} ((1-x)^k - x^k)^2.
G.f.: 1/(1-x)*exp( Sum_{n>=1} x^n/((1-x)^n - x^n) / n ).
G.f.: 1/(1-x)*exp( Sum_{n>=1} sigma(n) * x^n/(1-x)^n / n ), where sigma(n) is the sum of divisors of n (A000203).
G.f.: 1/(1-x)*Product_{n>=1} (1 + x^n/(1-x)^n)^A001511(n), where 2^A001511(n) is the highest power of 2 that divides 2*n.
Logarithmic derivative yields A222115.
a(n) ~ exp(Pi*sqrt(n/3) + Pi^2/24) * 2^(n-1) / (n*sqrt(3)). - Vaclav Kotesovec, Jun 25 2015

A129519 First differences of the binomial transform of the distinct partition numbers (A000009).

Original entry on oeis.org

1, 1, 2, 5, 12, 28, 65, 151, 350, 807, 1850, 4221, 9597, 21760, 49215, 111032, 249856, 560835, 1255854, 2805969, 6256784, 13925698, 30941050, 68634679, 152009239, 336152787, 742276931, 1636747349, 3604206106, 7926412320, 17410413153
Offset: 0

Views

Author

Paul D. Hanna, Apr 18 2007

Keywords

Examples

			Product formula is illustrated by:
A(x) = [1 + x + x^2 + x^3 + x^4 + x^5 +...]*
[1 + x^2 + 2x^3 + 3x^4 + 4x^5 + 5x^6 +...]*
[1 + x^3 + 3x^4 + 6x^5 + 10x^6 + 15x^7 +...]*
[1 + x^4 + 4x^5 + 10x^6 + 20x^7 + 35x^8 +...]*
[1 + x^5 + 5x^6 + 15x^7 + 35x^8 + 70x^9 +...]*...*
[1 + Sum_{k>=n+1} C(k-1,n)*x^k ]*...
		

Crossrefs

Programs

  • Mathematica
    Flatten[{1, Differences[Table[Sum[Binomial[n, k]*PartitionsQ[k], {k, 0, n}], {n, 0, 40}]]}] (* Vaclav Kotesovec, Oct 30 2017 *)
  • PARI
    {a(n)=polcoeff(prod(k=0,n,1+sum(i=k+1,n,binomial(i-1,k)*x^i +x*O(x^n))),n)}

Formula

G.f.: A(x) = Product_{n>=1} [1 + x^n/(1-x)^n].
a(n) = A266232(n) - A266232(n-1), for n>0. - Vaclav Kotesovec, Oct 30 2017
a(n) ~ exp(Pi*sqrt(n/6) + Pi^2/48) * 2^(n - 9/4) / (3^(1/4) * n^(3/4)). - Vaclav Kotesovec, Oct 30 2017

A374706 Sum of minima of the maximal strictly increasing runs in the weakly increasing prime indices of n.

Original entry on oeis.org

0, 1, 2, 2, 3, 1, 4, 3, 4, 1, 5, 2, 6, 1, 2, 4, 7, 3, 8, 2, 2, 1, 9, 3, 6, 1, 6, 2, 10, 1, 11, 5, 2, 1, 3, 4, 12, 1, 2, 3, 13, 1, 14, 2, 4, 1, 15, 4, 8, 4, 2, 2, 16, 5, 3, 3, 2, 1, 17, 2, 18, 1, 4, 6, 3, 1, 19, 2, 2, 1, 20, 5, 21, 1, 5, 2, 4, 1, 22, 4, 8, 1
Offset: 1

Views

Author

Gus Wiseman, Aug 04 2024

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.

Examples

			The prime indices of 540 are {1,1,2,2,2,3}, with strictly increasing runs ({1},{1,2},{2},{2,3}), with minima (1,1,2,2), summing to a(540) = 6.
		

Crossrefs

For leaders of constant runs we have A066328.
A version for compositions is A374684, row-sums of A374683 (length A124768).
Row-sums of A375128.
For length instead of sum we have A375136.
A055887 counts sequences of partitions with total sum n.
A112798 lists prime indices:
- length A001222, distinct A001221
- leader A055396
- sum A056239
- reverse A296150

Programs

  • Mathematica
    prix[n_]:=If[n==1,{},Flatten[Cases[FactorInteger[n], {p_,k_}:>Table[PrimePi[p],{k}]]]];
    Table[Total[First/@Split[prix[n],Less]],{n,100}]

A375128 Irregular triangle read by rows where row n lists the minima of maximal strictly increasing runs in the weakly increasing prime indices of n.

Original entry on oeis.org

1, 2, 1, 1, 3, 1, 4, 1, 1, 1, 2, 2, 1, 5, 1, 1, 6, 1, 2, 1, 1, 1, 1, 7, 1, 2, 8, 1, 1, 2, 1, 9, 1, 1, 1, 3, 3, 1, 2, 2, 2, 1, 1, 10, 1, 11, 1, 1, 1, 1, 1, 2, 1, 3, 1, 1, 2, 12, 1, 2, 1, 1, 1, 13, 1, 14, 1, 1, 2, 2, 1, 15, 1, 1, 1, 1, 4, 4, 1, 3, 2, 1, 1, 16
Offset: 1

Views

Author

Gus Wiseman, Aug 04 2024

Keywords

Comments

A prime index of n is a number m such that prime(m) divides n. The multiset of prime indices of n is row n of A112798.
The minima of strictly increasing runs in a sequence are obtained by splitting it into maximal strictly increasing subsequences and taking the first term of each.

Examples

			The prime indices of 540 are {1,1,2,2,2,3}, with strictly increasing runs ({1},{1,2},{2},{2,3}), with minima (1,1,2,2), which is row 540.
Triangle begins:
   1:
   2:  1
   3:  2
   4:  1  1
   5:  3
   6:  1
   7:  4
   8:  1  1  1
   9:  2  2
  10:  1
  11:  5
  12:  1  1
  13:  6
  14:  1
  15:  2
  16:  1  1  1  1
		

Crossrefs

Row-minima are A055396.
Row-sums are A374706.
Row-lengths are A375136.
For leaders of constant runs we have A304038, row-sums A066328.
For compositions we have A374683, row-sums of A374684 (length A124768).
A112798 lists prime indices:
- length A001222, distinct A001221
- leader A055396
- sum A056239
- reverse A296150

Programs

  • Mathematica
    Table[If[n==1,{},First/@Split[Flatten[Cases[FactorInteger[n], {p_,k_}:>Table[PrimePi[p],{k}]]],Less]],{n,100}]

A167137 E.g.f.: P(exp(x)-1) where P(x) is the g.f. of the partition numbers (A000041).

Original entry on oeis.org

1, 1, 5, 31, 257, 2551, 30065, 407191, 6214577, 105530071, 1972879025, 40213910551, 886979957297, 21044674731991, 534313527291185, 14448883517785111, 414475305054698417, 12568507978358276311, 401658204472560090545, 13490011548122407566871, 474964861088609044357937, 17491333169997896126211031
Offset: 0

Views

Author

Paul D. Hanna, Nov 03 2009

Keywords

Comments

CONJECTURE: Sum_{n>=0} a(n)^m * log(1+x)^n/n! is an integer series in x for all integer m>0; see A167138 and A167139 for examples.
From Peter Bala, Jul 07 2022: (Start)
Conjecture: Let k be a positive integer. The sequence obtained by reducing a(n) modulo k is eventually periodic with the period dividing phi(k) = A000010(k). For example, modulo 16 we obtain the sequence [1, 1, 5, 15, 1, 7, 1, 7, 1, 7, ...], with an apparent period of 2 beginning at a(4).
More generally, we conjecture that the same property holds for integer sequences having an e.g.f. of the form G(exp(x) - 1), where G(x) is an integral power series. (End)

Examples

			E.g.f.: A(x) = 1 + x + 5*x^2/2! + 31*x^3/3! + 257*x^4/4! +...
A(log(1+x)) = P(x) = 1 + x + 2*x^2 + 3*x^3 + 5*x^4 + 7*x^5 +...
		

Crossrefs

Programs

  • Mathematica
    Table[Sum[PartitionsP[k]*StirlingS2[n, k]*k!, {k, 0, n}], {n, 0, 20}] (* Vaclav Kotesovec, May 21 2018 *)
    nmax = 20; CoefficientList[Series[1/QPochhammer[E^x - 1], {x, 0, nmax}], x] * Range[0, nmax]! (* Vaclav Kotesovec, Nov 22 2021 *)
  • PARI
    {a(n)=if(n==0,1,n!*polcoeff(exp(sum(m=1,n,sigma(m)*(exp(x+x*O(x^n))-1)^m/m) ),n))}
    
  • PARI
    {Stirling2(n, k)=if(k<0||k>n, 0, sum(i=0, k, (-1)^i*binomial(k, i)/k!*(k-i)^n))}
    {a(n)=sum(k=0,n,numbpart(k)*Stirling2(n, k)*k!)}
    
  • PARI
    x='x+O('x^66); Vec( serlaplace( 1/eta(exp(x)-1) ) ) \\ Joerg Arndt, Sep 18 2013

Formula

a(n) = Sum_{k=0..n} A000041(k)*Stirling2(n,k)*k! where A000041 is the partition numbers.
E.g.f.: exp( Sum_{n>=1} sigma(n)*[exp(x)-1]^n/n ).
Sum_{n>=0} a(n) * log(1+x)^n/n! = g.f. of the partition numbers (A000041).
Sum_{n>=0} a(n)^2*log(1+x)^n/n! = g.f. of A167138.
From Peter Bala, Sep 18 2013: (Start)
Sum {n >= 0} (-1)^n*a(n)*(log(1 - x))^n/n! = 1 + x + 3*x^2 + 8*x^3 + 21*x^4 + ... is the o.g.f. of A218482.
a(n) is always odd. Congruences for n >= 1: a(2*n) = 2 (mod 3); a(4*n) = 2 (mod 5); a(6*n) = 0 (mod 7); a(10*n) = 7 (mod 11); a(12*n) = 5 (mod 13); a(16*n) = 0 (mod 17). (End)
From Vaclav Kotesovec, Jun 17 2018: (Start)
a(n) ~ n! * exp((1/log(2) - 1) * Pi^2 / 24 + Pi*sqrt(n/(3*log(2)))) / (4 * sqrt(3) * n * (log(2))^n).
a(n) ~ sqrt(Pi) * exp((1/log(2) - 1) * Pi^2 / 24 + Pi*sqrt(n/(3*log(2))) - n) * n^(n + 1/2) / (2^(3/2) * sqrt(3) * n * (log(2))^n). (End)

A320590 Expansion of Product_{k>=1} 1/(1 - x^k/(1 + x)^k).

Original entry on oeis.org

1, 1, 1, 0, 1, -2, 5, -12, 28, -63, 137, -290, 604, -1253, 2617, -5537, 11870, -25666, 55617, -120103, 257582, -548119, 1158437, -2437114, 5117165, -10748530, 22621055, -47728657, 100932549, -213750621, 452855190, -958925784, 2028187595, -4283531490, 9033779224
Offset: 0

Views

Author

Ilya Gutkovskiy, Oct 16 2018

Keywords

Comments

The zero-based binomial transform of this sequence is A000070, and if we remove first terms it becomes A000041.

Crossrefs

Row n=1 of A175804 (except first term). Row n=0 is A281425.
The version for strict partitions is A320591, row n=1 of A378622, first column A293467.
A000009 counts strict integer partitions, differences A087897, A378972.
A000041 counts integer partitions, differences A002865.

Programs

  • Magma
    m:=50; R:=PowerSeriesRing(Rationals(), m); Coefficients(R! ( (&*[1/(1 - x^k/(1 + x)^k): k in [1..(m+2)]]) )); // G. C. Greubel, Oct 29 2018
  • Maple
    seq(coeff(series(mul(1/(1-x^k/(1+x)^k),k=1..n),x,n+1), x, n), n = 0 .. 35); # Muniru A Asiru, Oct 16 2018
  • Mathematica
    nmax = 34; CoefficientList[Series[Product[1/(1 - x^k/(1 + x)^k), {k, 1, nmax}], {x, 0, nmax}], x]
    nmax = 34; CoefficientList[Series[Exp[Sum[DivisorSigma[1, k] x^k/(k (1 + x)^k), {k, 1, nmax}]], {x, 0, nmax}], x]
  • PARI
    m=50; x='x+O('x^m); Vec(prod(k=1, m+2, 1/(1 - x^k/(1 + x)^k))) \\ G. C. Greubel, Oct 29 2018
    

Formula

G.f.: exp(Sum_{k>=1} x^k/(k*((1 + x)^k - x^k))).
G.f.: exp(Sum_{k>=1} sigma(k)*x^k/(k*(1 + x)^k)).

A103446 Unlabeled analog of A025168.

Original entry on oeis.org

0, 1, 3, 8, 21, 54, 137, 344, 856, 2113, 5179, 12614, 30548, 73595, 176455, 421215, 1001388, 2371678, 5597245, 13166069, 30873728, 72185937, 168313391, 391428622, 908058205, 2101629502, 4853215947, 11183551059, 25718677187, 59030344851, 135237134812
Offset: 0

Views

Author

Thomas Wieder, Feb 06 2005; revised Feb 20 2006

Keywords

Comments

Or, if the initial 0 is omitted, this is the binomial transform of the partition numbers p(1), p(2), ... = 1, 2, 3, 5, 7, 11, 15, 22, 30, ... (A000041 without the initial 1).
The most precise definition of this sequence is the Maple combstruct command given below. See the first Wieder link for further details.
Sequence appears to have a rational o.g.f. - Ralf Stephan, May 18 2007
For n>0, row sums of triangle A137151. - Gary W. Adamson, Jan 23 2008
a(n) = A218482(n) for n>=1; see A218482 for more formulas.

Examples

			Let {} denote a set, [] a list and Z an unlabeled element.
a(3) = 8 because we have {[[Z]],[[Z]],[[Z]]}, {[[Z],[Z]],[[Z]]}, {[[Z],[Z],[Z]]}, {[[Z],[Z,Z]]}, {[[Z,Z],[Z]]}, {[[Z,Z]],[[Z]]}, {[[Z]],[[Z,Z]]}, {[[Z,Z,Z]]}.
		

Crossrefs

Programs

  • Maple
    with(combstruct); SubSetSeqU := [T,{T=Subst(U,S),S=Set(U,card>=1),U=Sequence(Z,card>=1)},unlabeled]; [seq(count(SubSetSeqU, size=n), n=0..30)];
    allstructs(SubSetSeq,size=3); # to get the structures for n=3 - this output is shown in the example lines.
  • Mathematica
    Flatten[{0, Table[Sum[Binomial[n-1,k]*PartitionsP[k+1],{k,0,n-1}],{n,1,30}]}] (* Vaclav Kotesovec, Jun 25 2015 *)
  • PARI
    {a(n)=if(n<1,0,polcoeff(exp(sum(m=1,n,sigma(m)*x^m/(1-x+x*O(x^n))^m/m)),n))} \\ Paul D. Hanna, Apr 21 2010
    
  • PARI
    {a(n)=if(n<1,0,polcoeff(exp(sum(m=1,n,x^m/m*sum(k=1,m,binomial(m,k)*sigma(k)))+x*O(x^n)),n))} \\ Paul D. Hanna, Feb 04 2012
    
  • PARI
    Vec(1/eta('x/(1-'x)+O('x^66))) \\ Joerg Arndt, Jul 30 2011

Formula

O.g.f.: exp( Sum_{n>=1} sigma(n)*x^n/(1-x)^n/n ) - 1. - Paul D. Hanna, Apr 21 2010
O.g.f.: exp( Sum_{n>=1} x^n/n * Sum_{k=1..n} binomial(n,k)*sigma(k) ) - 1. - Paul D. Hanna, Feb 04 2012
O.g.f. P(x/(1-x)), where P(x) is the o.g.f. for number of partitions (A000041) a(n)=sum_{k=1,n} ( binomial(n-1,k-1)*A000041(k)). - Vladimir Kruchinin, Aug 10 2010
a(n) ~ exp(Pi*sqrt(n/3) + Pi^2/24) * 2^(n-2) / (n*sqrt(3)). - Vaclav Kotesovec, Jun 25 2015

Extensions

I can confirm that the terms shown are the binomial transform of the partition sequence 1, 2, 3, 5, 7, 11, 15, 22, 30, 42, 56, 77, 101, ... (A000041 without the a(0) term). - N. J. A. Sloane, May 18 2007

A358901 Number of integer partitions of n whose parts have all different numbers of prime factors (A001222).

Original entry on oeis.org

1, 1, 1, 2, 2, 2, 3, 4, 4, 5, 5, 7, 9, 8, 9, 11, 11, 15, 16, 16, 18, 20, 22, 26, 28, 31, 32, 36, 40, 45, 46, 46, 50, 59, 64, 70, 75, 78, 83, 89, 94, 108, 106, 104, 120, 137, 142, 147, 150, 161, 174, 190, 200, 220, 226, 224, 248, 274, 274, 287, 301, 320, 340, 351, 361
Offset: 0

Views

Author

Gus Wiseman, Dec 07 2022

Keywords

Examples

			The a(1) = 1 through a(11) = 7 partitions:
  (1)  (2)  (3)   (4)   (5)   (6)   (7)    (8)    (9)    (A)    (B)
            (21)  (31)  (41)  (42)  (43)   (62)   (54)   (82)   (74)
                              (51)  (61)   (71)   (63)   (91)   (65)
                                    (421)  (431)  (81)   (451)  (83)
                                                  (621)  (631)  (92)
                                                                (A1)
                                                                (821)
		

Crossrefs

The weakly decreasing version is A358909 (complement A358910).
The version not counting multiplicity is A358903, weakly decreasing A358902.
For equal numbers of prime factors we have A319169, compositions A358911.
A001222 counts prime factors, distinct A001221.
A063834 counts twice-partitions.
A358836 counts multiset partitions with all distinct block sizes.

Programs

  • Mathematica
    Table[Length[Select[IntegerPartitions[n],UnsameQ@@PrimeOmega/@#&]],{n,0,60}]

Extensions

a(61) and beyond from Lucas A. Brown, Dec 14 2022
Showing 1-10 of 31 results. Next