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!)
A039987 k th digit of a(n) = number of different digits within 2 places of k (not including k). 0
11, 111, 122, 212, 221, 1111, 1221, 2122, 2212, 11111, 12212, 12221, 13322, 21221, 22122, 22331, 111111, 122122, 122212, 122221, 212212, 212221, 221221, 1111111, 1221221, 1222122, 1222212, 2122122, 2122212, 2122221, 2212212, 2212221 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

LINKS

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

EXAMPLE

2122 works, since 2=|{1,2}|, 1=|{2,2,2}|, 2=|{2,1,2}| and 2=|{1,2}|

CROSSREFS

Sequence in context: A231872 A308365 A083278 * A039989 A269002 A092819

Adjacent sequences:  A039984 A039985 A039986 * A039988 A039989 A039990

KEYWORD

base,easy,nonn

AUTHOR

Erich Friedman

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 May 28 17:37 EDT 2020. Contains 334684 sequences. (Running on oeis4.)