login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A180408 Nonzero digits not used in n. 0
123456789, 23456789, 13456789, 12456789, 12356789, 12346789, 12345789, 12345689, 12345679, 12345678, 23456789, 23456789, 3456789, 2456789, 2356789, 2346789, 2345789, 2345689, 2345679, 2345678, 13456789, 3456789, 13456789, 1456789, 1356789, 1346789, 1345789 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

Table of n, a(n) for n=0..26.

FORMULA

a(n) = 123456789 after removing any digits that appear in n. If n uses all digits, then a(n) = 0.

EXAMPLE

a(13) = 123456789 without 1 and 3 = 2456789.

a(123456789) = 0 (by definition).

MATHEMATICA

newn[n_]:=FromDigits[Complement[Range[9], IntegerDigits[n]]]; Table[newn[i], {i, 50}] (* Harvey P. Dale, Nov 21 2010 *)

CROSSREFS

Sequence in context: A068247 A224780 A277057 * A050289 A204140 A288941

Adjacent sequences:  A180405 A180406 A180407 * A180409 A180410 A180411

KEYWORD

easy,nonn,base

AUTHOR

Dominick Cancilla, Sep 02 2010

EXTENSIONS

More terms from Harvey P. Dale, Nov 21 2010

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified July 27 04:53 EDT 2017. Contains 289841 sequences.