OFFSET
1,4
FORMULA
a(n) = A331195(n-1) + 1.
EXAMPLE
Triples begin: (1,1,1), (2,1,1), (2,2,1), (2,2,2), (3,1,1), (3,2,1), (3,2,2), (3,3,1), (3,3,2), (3,3,3), ...
MATHEMATICA
nn=9; Join@@Select[Tuples[Range[nn], 3], GreaterEqual@@#&]
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Feb 11 2023
STATUS
approved