A202124 T(n,k) is the number of -k..k arrays of n elements with first, second and third differences also in -k..k.
3, 5, 7, 7, 19, 13, 9, 37, 57, 19, 11, 61, 153, 127, 27, 13, 91, 323, 475, 293, 35, 15, 127, 587, 1279, 1509, 663, 47, 17, 169, 967, 2833, 5205, 4763, 1517, 65, 19, 217, 1483, 5509, 14063, 21093, 15101, 3459, 91, 21, 271, 2157, 9739, 32267, 69573, 85771, 47889, 7905
Offset: 1
Examples
Some solutions for n=6, k=5: 3 2 -1 -5 -3 5 1 4 -2 0 3 4 -3 -3 -3 -5 -2 4 -2 0 -1 5 -3 -1 -2 1 -2 1 2 -4 -4 -4 -5 3 -2 4 1 4 -2 -2 1 3 -5 -1 3 -3 -3 0 -5 -1 -1 4 2 5 2 0 2 3 -4 -3 2 0 1 2 -2 -3 -3 4 4 5 5 2 1 1 -3 -1 1 3 5 3 3 -4 -5 0 5 0 5 5 1 0 0 1 2 2 5 2
Links
- R. H. Hardin, Table of n, a(n) for n = 1..7269
- Wikipedia, Ehrhart quasi-polynomials
Comments