cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A180408 Nonzero digits not used in n.

Original entry on oeis.org

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
Offset: 0

Views

Author

Dominick Cancilla, Sep 02 2010

Keywords

Examples

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

Programs

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

Formula

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

Extensions

More terms from Harvey P. Dale, Nov 21 2010