OFFSET
0,6
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..10625, showing all instances of m=0..21.
FORMULA
EXAMPLE
n W,X,Y,Z
0 0,0,0,0
1 1,0,0,0
2 1,1,0,0
3 1,1,1,0
4 1,1,1,1
5 2,0,0,0
6 2,1,0,0
7 2,1,1,0
8 2,1,1,1
9 2,2,0,0
10 2,2,1,0
11 2,2,1,1
12 2,2,2,0
13 2,2,2,1
14 2,2,2,2
15 3,0,0,0
16 3,1,0,0
17 3,1,1,0
18 3,1,1,1
19 3,2,0,0
20 3,2,1,0
21 3,2,1,1
22 3,2,2,0
23 3,2,2,1
MATHEMATICA
Array[Floor[Sqrt[5/4 + Sqrt[24*# + 1]] - 3/2] &, 105, 0] (* or *)
Flatten@ Array[ConstantArray[#, Binomial[# + 3, 3]] &, 6, 0] (* Michael De Vlieger, Oct 21 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Graeme McRae, Jan 10 2007
EXTENSIONS
Name corrected by Ridouane Oudra, Oct 21 2021
STATUS
approved