|
| |
|
|
A048175
|
|
Size of range 1...m generatable from the digits of an n-digit integer and + - x /.
|
|
0
|
| |
|
|
|
OFFSET
|
2,1
|
|
|
COMMENTS
|
Let k be an n-digit positive integer, compute all integers that can be formed by combining the digits of k using + - x / and parentheses (but no digit concatenation, exponentiation, or other operators). Let r(k) be the largest range 1...m present in the output set. Then a(n) is the max of r(k) over all n-digit numbers.
|
|
|
LINKS
|
Table of n, a(n) for n=2..6.
|
|
|
EXAMPLE
|
a(3)=10 because 1...10 can be made from the digits of 124 ( 1=4-2-1, 2=4-(2/1), 3=4-2+1, 4=4/(2-1), 5=4+2-1, 6=4+(2/1), 7=4+2+1, 8=4*2/1, 9=4*2+1, 10=(4+1)*2 ) and no 3-digit number gives a larger range.
|
|
|
CROSSREFS
|
Sequence in context: A209902 A049370 A009343 * A192482 A020132 A013201
Adjacent sequences: A048172 A048173 A048174 * A048176 A048177 A048178
|
|
|
KEYWORD
|
nonn,base,more
|
|
|
AUTHOR
|
Mike Keith (domnei(AT)aol.com)
|
|
|
STATUS
|
approved
|
| |
|
|