login
Successively add the smallest number that is not a substring in decimal representation.
5

%I #7 Feb 15 2016 12:20:51

%S 1,3,4,5,6,7,8,9,10,12,15,17,19,21,24,25,26,27,28,29,30,31,33,34,35,

%T 36,37,38,39,40,41,43,44,45,46,47,48,49,50,51,53,54,55,56,57,58,59,60,

%U 61,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81

%N Successively add the smallest number that is not a substring in decimal representation.

%H Reinhard Zumkeller, <a href="/A261793/b261793.txt">Table of n, a(n) for n = 1..10000</a>

%o (Haskell)

%o a261793 n = a261793_list !! (n-1)

%o a261793_list = iterate (\x -> x + a261794 x) 1

%Y Cf. A031298, A261794, A261795 (first differences), A261806, A260273, A261786

%K nonn,base

%O 1,2

%A _Reinhard Zumkeller_, Sep 01 2015