Number of permutations of {1, 2, 3, ..., n} that result in a final value of 0 by repeatedly iterating the process of "subtracting if the next item is greater or equal, otherwise adding" until there's only one number left.

A373284

Number of permutations of {1, 2, 3, ..., n} that result in a final value of 0 by repeatedly iterating the process of "subtracting if the next item is greater or equal, otherwise adding" until there's only one number left.

Terms

    a(0) =0a(1) =0a(2) =1a(3) =1a(4) =3a(5) =10a(6) =52a(7) =459a(8) =1271a(9) =10094a(10) =63133a(11) =547565a(12) =4431517a(13) =42046100a(14) =400782747a(15) =8711476734

External references