A127324 Fourth 4-dimensional hyper-tetrahedral coordinate; 4-D analog of A056558.
0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 1, 2, 0, 0, 0, 1, 0, 0, 1, 0, 1, 2, 0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 0, 0, 1, 0, 0, 1, 0, 1, 2, 0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2, 3, 4, 0, 0, 0, 1, 0, 0, 1, 0, 1, 2, 0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 0, 1, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2, 3, 4
Offset: 0
Keywords
Examples
See A127321 for a table of A127321, A127322, A127323, A127324 See A127327 for a table of A127324, A127325, A127326, A127327
References
- D. E. Knuth, The Art of Computer Programming, vol. 4A, Combinatorial Algorithms, Section 7.2.1.3, Eq. (20), p. 360.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
Crossrefs
Programs
-
Haskell
import Data.List (inits) a127324 n = a127324_list !! n a127324_list = concatMap (concatMap concat . inits . inits . enumFromTo 0) $ enumFrom 0 -- Reinhard Zumkeller, Jun 01 2015
-
Maple
seq(seq(seq(seq(i,i=0..k),k=0..n),n=0..m),m=0..5); # Peter Luschny, Sep 22 2011
-
Mathematica
Table[i, {m, 0, 5}, {k, 0, m}, {j, 0, k}, {i, 0, j}] // Flatten (* Robert G. Wilson v, Sep 27 2011 *)
Comments