login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Define the morphism f: 1->113, 2->13, 3->2 and let a(0) = 1; then a(n+1) = f(a(n)).
6

%I #7 Jul 30 2015 22:49:32

%S 1,113,1131132,1131132113113213,113113211311321311311321131132131132,

%T 113113211311321311311321131132131132113113211311321311311321131132131132113113213

%N Define the morphism f: 1->113, 2->13, 3->2 and let a(0) = 1; then a(n+1) = f(a(n)).

%D E. Bombieri and J. Taylor, Which distribution of matter diffracts? An initial investigation, in International Workshop on Aperiodic Crystals (Les Houches, 1986), J. de Physique, Colloq. C3, 47 (1986), C3-19 to C3-28.

%t FromDigits /@ NestList[ Flatten[ # /. {1 -> {1, 1, 3}, 2 -> {1, 3}, 3 -> 2}] &, {1}, 5] (* _Robert G. Wilson v_, May 17 2005 *)

%Y Cf. A106749.

%K nonn

%O 0,2

%A _N. J. A. Sloane_, May 16 2005

%E More terms from _Robert G. Wilson v_, May 17 2005