A371478 Numbers k for which k swaps are needed to bubble-sort the US English number name of k.
2, 17, 21, 25
Offset: 1
Examples
2 is a term since "two" requires 2 swaps of adjacent letters to sort into ascending alphabetical order: TWO -> TOW -> OTW.
Links
- Eric Angelini and Nicolas Graner, More bubble sorting, personal blog, March 2024.
- Wikipedia, Names of Large Numbers
Comments