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.

Previous Showing 21-24 of 24 results.

A335078 Irregular triangle read by rows: T(n, k) is the number of rotationally inequivalent Ferris Wheel distributions of Omega(n) colored balls of specification number n into precisely k boxes of the Ferris Wheel, with no box empty (0 < k <= Omega(n)).

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 3, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 2, 1, 1, 1, 1, 1, 1, 3, 3, 1, 1, 1, 3, 2, 1
Offset: 2

Views

Author

Stefano Spezia, May 23 2020

Keywords

Examples

			The triangle T(n, k) begins
  n\k| 1     2     2     4
  ---+--------------------
   2 | 1
   3 | 1
   4 | 1     1
   5 | 1
   6 | 1     1
   7 | 1
   8 | 1     1     1
   9 | 1     1
  10 | 1     1
  11 | 1
  12 | 1     2     1
  13 | 1
  14 | 1     1
  15 | 1     1
  16 | 1     2     1     1
  ...
		

References

  • Richard Beekman, An Introduction to Number-Theoretic Combinatorics, Lulu Press 2017.

Crossrefs

Cf. A000012 (1st column), A001222 (Omega), A334996, A334997, A335079 (row sums).

Programs

  • Mathematica
    tau[n_,k_]:=If[n==1,1,Product[Binomial[Extract[Extract[FactorInteger[n],i],2]+k,k],{i,Length[FactorInteger[n]]}]]; (* A334997 *)
    Nd[n_, m_]:=Sum[(-1)^k*Binomial[m, k]*tau[n, m-k-1], {k,0,m-1}]; (* A334996 *)
    T[n_,k_]:=1/k*DivisorSum[k,EulerPhi[#]*Nd[n^(1/#),k/#]&,IntegerQ[n^(1/#)]&];  Table[T[n, m], {n,2,43}, {m,PrimeOmega[n]}]//Flatten
  • PARI
    TT(n, k) = if (k==0, 1, sumdiv(n, d, TT(d, k-1))); \\ A334996
    U(n, m) = sum(k=0, m-1, (-1)^k*binomial(m, k)*TT(n, m-k-1));
    T(n, k) = my(p); (1/k)*sumdiv(k, d, if (ispower(n, d, &p), eulerphi(d)*U(p, k/d)));
    row(n) = vector(bigomega(n), k, T(n,k)); \\ Michel Marcus, May 25 2020

Formula

T(n, k) = (1/k)*Sum_{d divides k and n^(1/d) is a positive integer} phi(d)*A334996(n^(1/d), k/d) (see Theorem 4 in Beekman's article).

A335079 Row sums of A335078.

Original entry on oeis.org

1, 1, 2, 1, 2, 1, 3, 2, 2, 1, 4, 1, 2, 2, 5, 1, 4, 1, 4, 2, 2, 1, 8, 2, 2, 3, 4, 1, 6, 1, 7, 2, 2, 2, 11, 1, 2, 2, 8, 1, 6, 1, 4, 4, 2, 1, 16, 2, 4, 2, 4, 1, 8, 2, 8, 2, 2, 1, 16, 1, 2, 4, 13, 2, 6, 1, 4, 2, 6, 1, 24, 1, 2, 4, 4, 2, 6, 1, 16, 5, 2, 1, 16, 2, 2, 2, 8, 1, 16
Offset: 2

Views

Author

Stefano Spezia, May 23 2020

Keywords

Crossrefs

Cf. A001222 (Omega function), A334996, A334997, A335078.

Programs

  • Mathematica
    tau[n_,k_]:=If[n==1,1,Product[Binomial[Extract[Extract[FactorInteger[n],i],2]+k,k],{i,1,Length[FactorInteger[n]]}]]; (* A334997 *)
    Nd[n_, m_]:=Sum[(-1)^k*Binomial[m, k]*tau[n, m-k-1], {k, 0, m-1}]; (* A334996 *)
    T[n_,k_]:=1/k*DivisorSum[k,EulerPhi[#]*Nd[n^(1/#),k/#]&,IntegerQ[n^(1/#)]&]; (* A335078 *)
    Table[Sum[T[n,m],{m,1,PrimeOmega[n]}],{n,2,90}]
  • PARI
    TT(n, k) = if (k==0, 1, sumdiv(n, d, TT(d, k-1))); \\ A334996
    U(n, m) = sum(k=0, m-1, (-1)^k*binomial(m, k)*TT(n, m-k-1));
    T(n, k) = my(p); (1/k)*sumdiv(k, d, if (ispower(n, d, &p), eulerphi(d)*U(p, k/d)));
    row(n) = vector(bigomega(n), k, T(n,k)); \\ A335078
    a(n) = vecsum(row(n)); \\ Michel Marcus, May 25 2020

A343940 Sum of numbers of ways to choose a k-chain of divisors of n - k, for k = 0..n - 1.

Original entry on oeis.org

1, 2, 4, 7, 12, 19, 30, 45, 66, 95, 135, 187, 256, 346, 463, 613, 803, 1040, 1336, 1703, 2158, 2720, 3409, 4244, 5251, 6461, 7911, 9643, 11707, 14157, 17058, 20480, 24502, 29212, 34707, 41094, 48496, 57053, 66926, 78296, 91369, 106376, 123581, 143276, 165786
Offset: 1

Views

Author

Gus Wiseman, May 07 2021

Keywords

Examples

			The a(8) = 45 chains:
  ()  (1)  (1/1)  (1/1/1)  (1/1/1/1)  (1/1/1/1/1)  (1/1/1/1/1/1)
      (7)  (2/1)  (5/1/1)  (2/1/1/1)  (3/1/1/1/1)  (2/1/1/1/1/1)
           (2/2)  (5/5/1)  (2/2/1/1)  (3/3/1/1/1)  (2/2/1/1/1/1)
           (3/1)  (5/5/5)  (2/2/2/1)  (3/3/3/1/1)  (2/2/2/1/1/1)
           (3/3)           (2/2/2/2)  (3/3/3/3/1)  (2/2/2/2/1/1)
           (6/1)           (4/1/1/1)  (3/3/3/3/3)  (2/2/2/2/2/1)
           (6/2)           (4/2/1/1)               (2/2/2/2/2/2)
           (6/3)           (4/2/2/1)
           (6/6)           (4/2/2/2)
                           (4/4/1/1)
                           (4/4/2/1)           (1/1/1/1/1/1/1)
                           (4/4/2/2)
                           (4/4/4/1)
                           (4/4/4/2)
                           (4/4/4/4)
		

Crossrefs

Antidiagonal sums of the array (or row sums of the triangle) A334997.
A000005 counts divisors of n.
A067824 counts strict chains of divisors starting with n.
A074206 counts strict chains of divisors from n to 1.
A146291 counts divisors of n with k prime factors (with multiplicity).
A251683 counts strict length k + 1 chains of divisors from n to 1.
A253249 counts nonempty chains of divisors of n.
A334996 counts strict length k chains of divisors from n to 1.
A337255 counts strict length k chains of divisors starting with n.
Array version of A334997 has:
- column k = 2 A007425,
- transpose A077592,
- subdiagonal n = k + 1 A163767,
- strict case A343662 (row sums: A337256),
- version counting all multisets of divisors (not just chains) A343658,
- diagonal n = k A343939.

Programs

  • Mathematica
    Total/@Table[Length[Select[Tuples[Divisors[n-k],k],And@@Divisible@@@Partition[#,2,1]&]],{n,12},{k,0,n-1}]

A343936 Number of ways to choose a multiset of n divisors of n - 1.

Original entry on oeis.org

1, 2, 3, 10, 5, 56, 7, 120, 45, 220, 11, 4368, 13, 560, 680, 3876, 17, 26334, 19, 42504, 1771, 2024, 23, 2035800, 325, 3276, 3654, 201376, 29, 8347680, 31, 376992, 6545, 7140, 7770, 145008513, 37, 9880, 10660, 53524680, 41, 73629072, 43, 1712304, 1906884
Offset: 1

Views

Author

Gus Wiseman, May 05 2021

Keywords

Examples

			The a(1) = 1 through a(5) = 5 multisets:
  {}  {1}  {1,1}  {1,1,1}  {1,1,1,1}
      {2}  {1,3}  {1,1,2}  {1,1,1,5}
           {3,3}  {1,1,4}  {1,1,5,5}
                  {1,2,2}  {1,5,5,5}
                  {1,2,4}  {5,5,5,5}
                  {1,4,4}
                  {2,2,2}
                  {2,2,4}
                  {2,4,4}
                  {4,4,4}
The a(6) = 56 multisets:
  11111  11136  11333  12236  13366  22266  23666
  11112  11166  11336  12266  13666  22333  26666
  11113  11222  11366  12333  16666  22336  33333
  11116  11223  11666  12336  22222  22366  33336
  11122  11226  12222  12366  22223  22666  33366
  11123  11233  12223  12666  22226  23333  33666
  11126  11236  12226  13333  22233  23336  36666
  11133  11266  12233  13336  22236  23366  66666
		

Crossrefs

The version for chains of divisors is A163767.
Diagonal n = k + 1 of A343658.
Choosing n divisors of n gives A343935.
A000005 counts divisors.
A000312 = n^n.
A007318 counts k-sets of elements of {1..n}.
A009998 = n^k (as an array, offset 1).
A059481 counts k-multisets of elements of {1..n}.
A146291 counts divisors of n with k prime factors (with multiplicity).
A253249 counts nonempty chains of divisors of n.
Strict chains of divisors:
- A067824 counts strict chains of divisors starting with n.
- A074206 counts strict chains of divisors from n to 1.
- A251683 counts strict length k + 1 chains of divisors from n to 1.
- A334996 counts strict length-k chains of divisors from n to 1.
- A337255 counts strict length-k chains of divisors starting with n.
- A337256 counts strict chains of divisors of n.
- A343662 counts strict length-k chains of divisors.

Programs

  • Mathematica
    multchoo[n_,k_]:=Binomial[n+k-1,k];
    Table[multchoo[DivisorSigma[0,n],n-1],{n,50}]

Formula

a(n) = ((sigma(n - 1), n)) = binomial(sigma(n - 1) + n - 1, n) where sigma = A000005 and binomial = A007318.
Previous Showing 21-24 of 24 results.