%N a(n) is the smallest term appearing after a(n-1) in A067581.
%e a(13) = 21 because 21 is the lowest term appearing after 12 in A067581
%Y Cf. A067581.
%A _Johan Särnbratt_, Mar 27 2008