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.

A004177 Omit 2's from n.

Original entry on oeis.org

0, 1, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 13, 14, 15, 16, 17, 18, 19, 0, 1, 0, 3, 4, 5, 6, 7, 8, 9, 30, 31, 3, 33, 34, 35, 36, 37, 38, 39, 40, 41, 4, 43, 44, 45, 46, 47, 48, 49, 50, 51, 5, 53, 54, 55, 56, 57, 58, 59, 60, 61, 6, 63, 64, 65, 66, 67, 68, 69, 70, 71, 7, 73, 74
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

  • Maple
    f:= proc(n) local L,i;
         L:= subs(2=NULL,convert(n,base,10));
         add(L[i]*10^(i-1),i=1..nops(L))
    end proc:
    map(f, [$0..100]); # Robert Israel, Sep 15 2024
  • Mathematica
    Table[FromDigits[DeleteCases[IntegerDigits[n],2]],{n,0,80}] (* Harvey P. Dale, Feb 12 2022 *)