The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A229364 a(1) = 1; for n > 1: a(n) = smallest odd number greater than a(n-1) which does not use any digit used by a(n-1). 4

%I

%S 1,3,5,7,9,11,23,41,53,61,73,81,93,101,223,401,523,601,723,801,923,

%T 1001,2223,4001,5223,6001,7223,8001,9223,10001,22223,40001,52223,

%U 60001,72223,80001,92223,100001,222223,400001,522223,600001,722223,800001,922223

%N a(1) = 1; for n > 1: a(n) = smallest odd number greater than a(n-1) which does not use any digit used by a(n-1).

%o import Data.List (intersect)

%o a229364 n = a229364_list !! (n-1)

%o a229364_list = f "" [1, 3 ..] where

%o f xs (o:os) = if null \$ intersect xs ys then o : f ys os else f xs os

%o where ys = show o

%Y Cf. A030284, A030283, A229363, A005408.

%K nonn,base

%O 1,2

%A _Reinhard Zumkeller_, Sep 21 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified December 5 03:03 EST 2021. Contains 349530 sequences. (Running on oeis4.)