in reply to Speed/Efficiency tweaks for a fannkuch benchmark script?

Veering off in a somewhat random direction... While playing around with this code and the Pfannkuchen(n) for n = 1 .. 10, I noticed something unique about the sequence 416523, which is one of the max sequences for Pfannkuchen(6).

All of the other max sequences resolve to an ordered sequence of 1 .. n after the flips have been performed. 416523 resolves to 143256.
  • Comment on Re: Speed/Efficiency tweaks for a fannkuch benchmark script?