A060315 a(1)=1; a(n) is the smallest positive integer that cannot be obtained from the integers {0, 1, ..., n-1} using each number at most once and the operators +, -, *, /.
1, 2, 4, 10, 29, 76, 284, 1413, 7187, 38103, 231051, 1765186, 10539427
Offset: 1
Examples
For n=4 the numbers available for use are {0,1,2,3} and we can get 6=2*3, 7=2*3+1, 8=2*(1+3), 9=3*(1+2), but we cannot get 10, hence a(4) = 10.
Links
- Gilles Bannay, Countdown Problem (to obtain a(4)=10 for example, enter ceb -a4 -x1 0 1 2 3)
- Michael S. Branicky, Python program for OEIS A060315 and its +,-,* version
- Zhao Hui Du, The C++ source code to find the smallest integer [The old link to the program was broken, but _Zhao Hui Du_ kindly sent this email with a copy of the code. - _N. J. A. Sloane_, Jul 04 2022]
- Zhao Hui Du, The webpage where the result is posted [From _Zhao Hui Du_, Oct 08 2008]
- Index entries for similar sequences
Formula
a(n) >= A354423(n-1). - Michael S. Branicky, Jun 05 2022
Extensions
More terms from Koksal Karakus (karakusk(AT)hotmail.com), May 26 2002
One more term from Zhao Hui Du, Oct 08 2008
Replaced two broken links with a link to a local copy of the missing program. - N. J. A. Sloane, Jul 04 2022
Comments