login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A108199 a(n) contains the digits of the remainder of a(n)/a(n-1). Sequence starts with 2. 1
2, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21, 23, 25, 27, 29, 32, 35, 38, 42, 46, 51, 56, 62, 68, 75, 83, 92, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..53.

EXAMPLE

11 divided by 2 is 5 + remainder 1; "1" is in "11". 12 divided by 11 is 1 + remainder 1; "1" is in "12".

MAPLE

A108199 := proc(n)

    option remember ;

    local a, r, dgsa, dgsr ;

    if n =1 then

        2;

    else

        for a from procname(n-1)+1 do

            r := modp(a, procname(n-1)) ;

            if r > 0 then

                dgsa := convert(a, base, 10) ;

                dgsr := convert(r, base, 10) ;

                if verify(dgsr, dgsa, 'sublist') then

                    return a;

                end if;

            end if;

        end do:

    end if;

end proc:

seq(A108199(n), n=1..60) ; # R. J. Mathar, Jun 20 2021

CROSSREFS

Sequence in context: A201187 A068225 A043080 * A137904 A175414 A059192

Adjacent sequences:  A108196 A108197 A108198 * A108200 A108201 A108202

KEYWORD

base,easy,nonn

AUTHOR

Eric Angelini, Jun 15 2005

EXTENSIONS

Offset set to 1. - R. J. Mathar, Jun 20 2021

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
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 22:35 EDT 2021. Contains 348180 sequences. (Running on oeis4.)