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-4 of 4 results.

A203153 (n-1)-st elementary symmetric function of {2, 2, 3, 3, 4, 4, 5, 5, ..., floor((n+3)/2)}.

Original entry on oeis.org

1, 4, 16, 60, 276, 1248, 6816, 36960, 236160, 1503360, 11041920, 80922240, 672779520, 5585448960, 51894743040, 481684008960, 4948521984000, 50802038784000, 571990616064000, 6436746860544000, 78834313248768000, 965131970052096000
Offset: 1

Views

Author

Clark Kimberling, Dec 29 2011

Keywords

Examples

			Let esf abbreviate "elementary symmetric function". Then
0th esf of {2}:  1;
1st esf of {2,2}:  2+2 = 4;
2nd esf of {2,2,3} is 2*2 + 2*3 + 2*3 = 16.
		

Crossrefs

Programs

  • Maple
    SymmPolyn := proc(L::list,n::integer)
        local c,a,sel;
        a :=0 ;
        sel := combinat[choose](nops(L),n) ;
        for c in sel do
            a := a+mul(L[e],e=c) ;
        end do:
        a;
    end proc:
    A203153 := proc(n)
        [seq(floor((k+3)/2),k=1..n)] ;
        SymmPolyn(%,n-1) ;
    end proc: # R. J. Mathar, Sep 23 2016
  • Mathematica
    f[k_] := Floor[(k + 3)/2]; t[n_] := Table[f[k], {k, 1, n}]
    a[n_] := SymmetricPolynomial[n - 1, t[n]]
    Table[a[n], {n, 1, 22}] (* A203153 *)

A203154 (n-1)-st elementary symmetric function of {2, 3, 3, 4, 4, 5, 5,...,Floor[(n+4)/2]}.

Original entry on oeis.org

1, 5, 21, 102, 480, 2688, 14880, 96480, 622080, 4613760, 34110720, 285586560, 2386298880, 22289541120, 207921530880, 2145056256000, 22108972032000, 249782787072000, 2820035699712000, 34637103857664000, 425205351825408000
Offset: 1

Views

Author

Clark Kimberling, Dec 29 2011

Keywords

Examples

			Let esf abbreviate "elementary symmetric function". Then
0th esf of {2}:  1
1st esf of {2,3}:  2+3=5;
2nd esf of {2,3,3} is 2*3+2*3+3*3=21.
		

Crossrefs

Programs

  • Maple
    SymmPolyn := proc(L::list,n::integer)
        local c,a,sel;
        a :=0 ;
        sel := combinat[choose](nops(L),n) ;
        for c in sel do
            a := a+mul(L[e],e=c) ;
        end do:
        a;
    end proc:
    A203154 := proc(n)
        [seq(floor((k+4)/2),k=1..n)] ;
        SymmPolyn(%,n-1);
    end proc:  # R. J. Mathar, Sep 23 2016
    # second Maple program:
    f:=  proc(n) local L,x;
      if n::odd then L:= `*`(x+2,seq((x+i)$2, i=3..2+n/2))
      else L:= `*`(seq((x+i)*(x+i+1),i=2..1+n/2))
      fi;
      coeff(L,x,1);
    end proc:
    map(f, [$1..50]); # Robert Israel, Nov 27 2017
  • Mathematica
    f[k_] := Floor[(k + 4)/2]; t[n_] := Table[f[k], {k, 1, n}]
    a[n_] := SymmetricPolynomial[n - 1, t[n]]
    Table[a[n], {n, 1, 22}] (* A203154 *)

A203151 (n-1)-st elementary symmetric function of {1,1,2,2,3,3,4,4,5,5,...,Floor[(n+1)/2]}.

Original entry on oeis.org

1, 2, 5, 12, 40, 132, 564, 2400, 12576, 65760, 408960, 2540160, 18299520, 131725440, 1079205120, 8836853760, 81157386240, 745047797760, 7582159872000, 77138417664000, 861690783744000, 9623448705024000, 117074735382528000
Offset: 1

Views

Author

Clark Kimberling, Dec 29 2011

Keywords

Comments

Column 3 of A246117. - Peter Bala, Aug 15 2014
From R. J. Mathar, Oct 01 2016 (Start):
The k-th elementary symmetric functions of the repeated integers 1,1,2,2,..[(n+1)/2], form a triangle T(n,k), 0<=k<=n, n>=0:
1
1 1
1 2 1
1 4 5 2
1 6 13 12 4
1 9 31 51 40 12
which is a row-reversed version of A246117. This here is the first subdiagonal. The diagonal is A010551. The 2nd column is A002620, the 3rd A203246. (End)

Examples

			Let esf abbreviate "elementary symmetric function".  Then
0th esf of {2}:  1;
1st esf of {1,1}:  1+1=2;
2nd esf of {1,1,2} is 1*1+1*2+1*2=5.
		

Crossrefs

Programs

  • Mathematica
    f[k_] := Floor[(k + 1)/2]; t[n_] := Table[f[k], {k, 1, n}]
    a[n_] := SymmetricPolynomial[n - 1, t[n]]
    Table[a[n], {n, 1, 22}] (* A203151 *)

A203155 (n-1)-st elementary symmetric function of {3, 3, 4, 4, 5, 5,..., Floor[(n+5)/2]}.

Original entry on oeis.org

1, 6, 33, 168, 984, 5640, 37440, 246240, 1853280, 13880160, 117391680, 989936640, 9315855360, 87500528640, 907925760000, 9408462336000, 106785133056000, 1210848984576000, 14928525545472000, 183922359312384000, 2448351304261632000
Offset: 1

Views

Author

Clark Kimberling, Dec 29 2011

Keywords

Examples

			Let esf abbreviate "elementary symmetric function".  Then
0th esf of {3}:  1
1st esf of {3,3}:  3+3=6
2nd esf of {3,3,4} is 3*3+3*4+3*4=33
		

Crossrefs

Programs

  • Mathematica
    f[k_] := Floor[(k + 5)/2]; t[n_] := Table[f[k], {k, 1, n}]
    a[n_] := SymmetricPolynomial[n - 1, t[n]]
    Table[a[n], {n, 1, 22}]  (* A203155 *)
Showing 1-4 of 4 results.