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.

A176850 a(n,k) is the number of ways to choose integers i,j from {0,1,...,k} such that the inequalities |i-j| <= n <= i+j are satisfied.

This page as a plain text file.
%I A176850 #38 Jul 10 2022 16:43:15
%S A176850 1,2,3,1,3,6,6,3,1,4,9,11,10,6,3,1,5,12,16,17,15,10,6,3,1,6,15,21,24,
%T A176850 24,21,15,10,6,3,1,7,18,26,31,33,32,28,21,15,10,6,3,1,8,21,31,38,42,
%U A176850 43,41,36,28,21,15,10,6,3,1,9,24,36,45,51,54,54,51,45,36,28,21,15,10,6,3,1,10,27,41,52,60,65,67,66,62,55,45,36,28,21,15,10,6,3
%N A176850 a(n,k) is the number of ways to choose integers i,j from {0,1,...,k} such that the inequalities |i-j| <= n <= i+j are satisfied.
%C A176850 The rows are of length 1, 3, 5, 7, ...
%C A176850 a(n,k) is also the number of independent rank n tensor operators to appear in the tensor product of two spaces each spanned by k+1 tensor operators of ranks 0 to k,
%C A176850 {Y_{l,m},l=0,1,...,k, m:-l,-l+1,...,l} times {Y'_{l'm'}, l'=0,1,...,k, m':-l,-l+1,...,l}.
%C A176850 Basis elements of the tensor product space are given by
%C A176850 psi^{l,l'}_{p,q} = Sum_{m,m'} C^{ll'p}_{mm'q} Y_{l,m}Y'_{l'm'}
%C A176850 for all l,l' = 0,1,...,k and where p = |l-l'|, |l-l'|+1, ..., l+l' is the rank, q=-p, -p+1,...,p and where C^{ll'p}_{mm'q} are the Clebsch-Gordon coefficients.
%C A176850 Sum_{k=0..2*n+1} a(n,k)*(2*k+1) = (n+1)^4. - _L. Edson Jeffery_, Oct 29 2012
%C A176850 Sum_{k=0..2*n+1} (a(n,k) - a(n-1,k))*(2*k+1) = n^4 - (n-1)^4 = A005917(n+1), for n > 0. - _L. Edson Jeffery_, Nov 02 2012
%H A176850 Michael De Vlieger, <a href="/A176850/b176850.txt">Table of n, a(n) for n = 0..10200</a> (rows n = 0..100, flattened)
%H A176850 Eliahu Cohen, Tobias Hansen, and Nissan Itzhaki, <a href="http://arxiv.org/abs/1511.06623">From Entanglement Witness to Generalized Catalan Numbers</a>, arXiv:1511.06623 [quant-ph], 2015.
%F A176850 a(n,k) = -(3/2)*n^2 + 2*k*n + n/2 + k + 1 for n=0,1,...,k, a(n) = (2*k-n+1)*(2*k-n+2)/2 for n = k+1,...,2*k.
%e A176850 Triangle begins
%e A176850    1;
%e A176850    2,  3,  1;
%e A176850    3,  6,  6,  3,  1;
%e A176850    4,  9, 11, 10,  6,  3,  1;
%e A176850    5, 12, 16, 17, 15, 10,  6,  3,  1;
%e A176850    6, 15, 21, 24, 24, 21, 15, 10,  6,  3,  1;
%e A176850    7, 18, 26, 31, 33, 32, 28, 21, 15, 10,  6,  3,  1;
%e A176850    8, 21, 31, 38, 42, 43, 41, 36, 28, 21, 15, 10,  6,  3,  1;
%e A176850    9, 24, 36, 45, 51, 54, 54, 51, 45, 36, 28, 21, 15, 10,  6,  3,  1;
%e A176850   10, 27, 41, 52, 60, 65, 67, 66, 62, 55, 45, 36, 28, 21, 15, 10,  6,  3,  1;
%p A176850 Seq:=[]: for k from 0 to 15 do for n from 0 to k do Seq:= [op(Seq), -(3/2)*n^2+2*k*n+(1/2)*n+k+1] end do; for n from k+1 to 2*k do Seq:= [op(Seq), (1/2)*(2*k-n+1)*(2*k-n+2)] end do; end do; Seq;
%t A176850 Table[If[n <= k, -(3/2)*n^2 + 2*k*n + n/2 + k + 1, (2*k - n + 1)*(2*k - n + 2)/2], {k, 0, 8}, {n, 0, 2 k}] // Flatten (* _Michael De Vlieger_, Jul 10 2022 *)
%Y A176850 Cf. A005917.
%K A176850 tabf,nonn,easy
%O A176850 0,2
%A A176850 _Sean Murray_, Apr 27 2010
%E A176850 Edited by _Sean Murray_, Oct 05 2011