login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261794 a(n) is the smallest nonzero number that is not a substring of n in decimal representation. 4
1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
A261795(n) = a(A261793(n)).
LINKS
PROG
(Haskell)
import Data.List (isInfixOf)
a261794 x = f $ tail a031298_tabf where
f (cs:css) = if isInfixOf cs (a031298_row x)
then f css else foldr (\d v -> 10 * v + d) 0 cs
CROSSREFS
Sequence in context: A031286 A031276 A305080 * A328929 A098744 A337584
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Sep 01 2015
EXTENSIONS
Name corrected by Álvar Ibeas, Sep 08 2020
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 04:14 EDT 2024. Contains 371918 sequences. (Running on oeis4.)