OFFSET
2,1
LINKS
David W. Wilson, Table of n, a(n) for n = 2..10000
FORMULA
a(n) = n if n prime; (n-1)*A079277(n) otherwise.
EXAMPLE
In base 7, for any k > 0, the numbers k,2k,...,7k together include every base-7 digit. k = 1 is the smallest number for which we need to go up to 7k to encounter digit 0 in 7k = 7 = 10_7. Hence a(7) = 7 and A206243(7) = 1.
In base 10, for any k > 0, the numbers k,2k,...,72k together include every base-10 digit. k = 125 is the smallest number for which we need to go up to 72k = 9000 to encounter digit 9. Hence a(10) = 72 and A206243(7) = 125.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
David W. Wilson, Feb 05 2012
STATUS
approved