A071794 a(n) is the smallest integer > 0 that cannot be obtained from the integers {1, ..., n} using each number at most once and the operators +, -, *, /, ^.
2, 4, 11, 34, 178, 926, 9434
Offset: 1
Examples
a(3)=11 because using {1,2,3} we can write 1, 2, 3, 3+1=4, 3+2=5, 3*2=6, 3*2+1=7, 2^3=8, 3^2=9, (3^2)+1=10 but we cannot obtain 11 in the same way.
References
- B. Torrence, Arithmetic Combinations, Mathematica in Education and Research, Vol. 12, No. 1 (2007), pp. 47-59.
Crossrefs
Cf. A060315.
Programs
-
Mathematica
The Torrence article gives a description of how one can use Mathematica to investigate the sequence.
Extensions
a(6) corrected by Bruce Torrence (btorrenc(AT)rmc.edu), Feb 14 2007
a(7) from Michael and David Kent (zdz.ruai(AT)gmail.com), Jul 29 2007
Comments