A355556 a(n) is the smallest position in the subtract-a-factorial game for which the value of the Sprague-Grundy function (or nim-value) is n.
0, 1, 2, 6, 5050, 5056, 5064, 40520, 40696, 630373, 40348521, 483383076, 6302798387
Offset: 0
Examples
a(3) = 6, because the smallest k for which A014587(k) = 3 is k = 6.
Links
- Rémy Sigrist, C program
Programs
-
C
See Links section.
Extensions
a(11)-a(12) from Rémy Sigrist, Jul 09 2022