A117911 Number of n-digit Lynch-Bell numbers.
0, 9, 5, 30, 67, 84, 248, 105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
Offset: 0
Examples
There are no (Lynch-Bell) numbers with zero digits. The nine one-digit Lynch-Bell numbers are {1, ..., 9}. The five two-digit Lynch-Bell numbers are {12, 15, 24, 36, 48}. The seven-digit Lynch-Bell numbers are 105 permutations of (the digits of) 9867312, which is the largest possible Lynch-Bell number. (The digit 5 cannot appear since there is at least one even digit. Replacing any of the given 7 digits by a digit 4 yields numbers not divisible by 9, or not divisible by 3 if the 9 is replaced.)
Crossrefs
Cf. A115569.
Programs
-
PARI
A117911(n)=#A115569_row(n) \\ M. F. Hasler, Jan 31 2016
Extensions
Extended to index 0, and some more zeros appended by M. F. Hasler, Jan 31 2016
Comments