A360172 Sequences of length n in [n] not starting with their minimum value.
0, 1, 13, 156, 2146, 34455, 638723, 13479760, 319689156, 8425695015, 244459904085, 7745416087332, 266155064108662, 9860698167427471, 391859875043125895
Offset: 1
Examples
The 13 sequences not starting with their minimum value for n=3 are 211, 212, 213, 221, 231, 311, 312, 313, 321, 331, 322, 323, 332.
Programs
-
Mathematica
Table[n^n - Plus @@ Table[i^(n - 1), {i, 1, n}], {n, 1, 15}]
Comments