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.

A384508 Nonnegative integers k such that the digits of k include the digits of the digital sum of k as a (not necessarily contiguous) subsequence.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 109, 119, 129, 139, 149, 159, 169, 179, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 300, 400, 500, 600, 700, 800, 900, 910, 911, 912, 913, 914, 915, 916, 917, 918, 919, 1000
Offset: 1

Views

Author

Felix Huber, Jun 26 2025

Keywords

Examples

			196 is a term because 1 + 9 + 6 = 16 and 1, 6 is a subsequence of 1, 9, 6.
		

Crossrefs

Programs

  • Maple
    A384508:=proc(n)
        option remember;
        local k,L;	
        if n=1 then
            0
        else
            for k from procname(n-1)+1 do
                L:=convert(k,'base',10);
                if ArrayTools:-IsSubsequence(convert(add(L),'base',10),L) then
                    return k
                fi
            od
        fi;
    end proc;
    seq(A384508(n),n=1..58);