login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A113526 Define the first two terms to be 1 and 3. All the other terms are obtained by concatenating the two previous terms. 3
1, 3, 13, 313, 13313, 31313313, 1331331313313, 313133131331331313313, 1331331313313313133131331331313313, 3131331313313313133131331331313313313133131331331313313 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
The third term is 13 which is obtained by concatenating the two previous terms 1 and 3.
MATHEMATICA
a[1] = 1; a[2] = 3; a[n_] := FromDigits@ Join[IntegerDigits@a[n - 2], IntegerDigits@a[n - 1]]; Array[a, 10] (* Robert G. Wilson v *)
nxt[{a_, b_}]:={b, FromDigits[Join[Flatten[IntegerDigits/@{a, b}]]]}; NestList[nxt, {1, 3}, 10][[All, 1]] (* Harvey P. Dale, May 15 2017 *)
CROSSREFS
Cf. A008352.
Sequence in context: A100524 A000859 A045748 * A113612 A180654 A260576
KEYWORD
base,nonn
AUTHOR
Parthasarathy Nambi, Jan 12 2006
EXTENSIONS
More terms from Robert G. Wilson v, Jan 18 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)