|
|
A111864
|
|
Define the first three terms to be 1, 1 and 1. All the other terms are obtained by concatenating the three previous terms.
|
|
0
|
|
|
|
OFFSET
|
0,4
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
The first three terms are 1,1,1. The fourth term is 111 - which is obtained by concatenating the first three terms.
|
|
MATHEMATICA
|
nxt[{a_, b_, c_}]:={b, c, FromDigits[Join[Flatten[IntegerDigits/@{a, b, c}]]]}; Transpose[NestList[nxt, {1, 1, 1}, 10]][[1]] (* Harvey P. Dale, Feb 18 2013 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|