A125506 Numbers with distinct digits in reverse alphabetical order (in English).
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, 31, 34, 35, 36, 37, 38, 39, 45, 48, 58, 61, 64, 65, 67, 68, 69, 71, 74, 75, 78, 79, 94, 95, 98, 145, 148, 158, 194, 195, 198, 214, 215, 218, 219, 231, 234, 235, 236, 237, 238, 239, 245
Offset: 1
Links
- Michael S. Branicky, Table of n, a(n) for n = 1..512
Programs
-
Python
from itertools import combinations afull = [0] + sorted(int("".join(t)) for d in range(1, 11) for t in combinations("236719458", d)) print(afull[:64]) # Michael S. Branicky, Aug 18 2022
Extensions
a(47) and beyond from Michael S. Branicky, Aug 18 2022
Comments