OFFSET
1,4
LINKS
EXAMPLE
a(4)=2 because 29 and 31 are the smallest numbers that you cannot obtain using {1,2,3,4} and the four operations and 31-29 = 2.
CROSSREFS
KEYWORD
hard,more,nonn
AUTHOR
Koksal Karakus (karakusk(AT)hotmail.com), Jun 07 2002
STATUS
approved