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

A015116 Triangle of q-binomial coefficients for q=-6.

Original entry on oeis.org

1, 1, 1, 1, -5, 1, 1, 31, 31, 1, 1, -185, 1147, -185, 1, 1, 1111, 41107, 41107, 1111, 1, 1, -6665, 1480963, -8838005, 1480963, -6665, 1, 1, 39991, 53308003, 1910490043, 1910490043, 53308003, 39991, 1, 1, -239945, 1919128099, -412612541285
Offset: 0

Views

Author

Keywords

Comments

May be read as a symmetric triangular (T[n,k]=T[n,n-k]; k=0,...,n; n=0,1,...) or square array (A[n,r]=A[r,n]=T[n+r,r], read by antidiagonals). The diagonals of the former (or rows/columns of the latter) are A000012 (k=0), A014987 (k=1), A015257 (k=2), A015273, A015292, A015310, A015328, A015345, A015361, A015378, A015392 (k=10), A015410, A015429,... - M. F. Hasler, Nov 04 2012

Crossrefs

Cf. analog triangles for other q: A015109 (q=-2), A015110 (q=-3), A015112 (q=-4), A015113 (q=-5), A015117 (q=-7), A015118 (q=-8), A015121 (q=-9), A015123 (q=-10), A015124 (q=-11), A015125 (q=-12), A015129 (q=-13), A015132 (q=-14), A015133 (q=-15); A022166 (q=2), A022167 (q=3), A022168, A022169, A022170, A022171, A022172, A022173, A022174 (q=10), A022175, A022176, A022177, A022178, A022179, A022180, A022181, A022182, A022183, A022184 (q=20), A022185, A022186, A022187, A022188. - M. F. Hasler, Nov 04 2012

Programs

  • Mathematica
    Table[QBinomial[n, k, -6], {n, 0, 10}, {k, 0, n}] // Flatten (* Jean-François Alcover, Apr 09 2016 *)
  • PARI
    T015116(n, k, q=-6)=prod(i=1, k, (q^(1+n-i)-1)/(q^i-1)) \\ (Indexing is that of the triangular array: 0 <= k <= n = 0,1,2,...) - M. F. Hasler, Nov 04 2012

A179897 a(n) = (n^(2*n+1) + 1) / (n+1).

Original entry on oeis.org

1, 1, 11, 547, 52429, 8138021, 1865813431, 593445188743, 250199979298361, 135085171767299209, 90909090909090909091, 74619186937936447687211, 73381705110822317661638341, 85180949465178001182799643437, 115244915978498073437814463065839, 179766618030828831251710653305053711
Offset: 0

Views

Author

Martin Saturka (martin(AT)saturka.net), Jul 31 2010

Keywords

Comments

a(n) is the arithmetic mean of the multiset consisting of n lots of 1/n and one lot of n^(2*n+1). This multiset also has an integer valued geometric mean which is equal to n for n > 0.
According to search at OEIS for particular sequence members, a(n) is also: (1+2*n)-th q-integer for q=-n, (2*(n+1))-th cyclotomic polynomial at q=-n, Gaussian binomial coefficient [2*n+1, 2*n] for q=-n, number of walks of length 1+2*n between any two distinct vertices of the complete graph K_(n+1).

Examples

			For n = 2, a(2) = 11 which is the arithmetic mean of {1/2, 1/2, 2^5} = 33 / 3 = 11. The geometric mean is 8^(1/3) = 2, i.e. both are integral.
		

Crossrefs

Main diagonal of A362783.
Values for n = 5, 6 via other ways. Q-integers: A014986, A014987, K_n paths: A015531, A015540, Cyclotomic polynomials: A020504, A020505, Gaussian binomial coefficients: A015391, A015429.

Programs

  • PARI
    a(n) = (n^(2*n + 1) + 1)/(n + 1) \\ Andrew Howroyd, May 03 2023
  • Python
    [(n**(2*n+1)+1)//(n+1) for n in range(1,11)]
    

Formula

a(n) = Sum_{i=0..2*n} (-n)^i.

Extensions

Edited, a(0)=1 prepended and more terms from Andrew Howroyd, May 03 2023
Showing 1-2 of 2 results.