OFFSET
1,3
COMMENTS
This is a concatenation of finite segments. The first segment is 10213223, obtained by writing AN iterates starting with 0 until repetition occurs: 0, 10, 1011, 1031, 10210213, 20312213, 10213223, 10213223. It may help to speak your way along: write 0 and say one 0 - that's 10; then say one 0 and one 1 - that's 1011; and so on, until reaching the repeating segment 10213223. This segment is a fixed point of the AN function.
The second segment arises in the same way starting with 1, and likewise for further segments. The resulting segments concatenate to form A191654 in the same manner that NA segments form A109973. Indeed, A191654 can be easily read from A109973 by reversing pairs of terms. Thus, the open questions at A109973 apply also to A191654.
MATHEMATICA
(* Program computes the AN segment starting with 0. *)
adjectiveNoun[s_] := Flatten@Transpose@({(Count[s, #1] &) /@ #1, #1} &)[Range[0, Max[s]]];
NestList[adjectiveNoun[#1] &, adjectiveNoun[{0}], 7]
(* Next program, the AN segment starting with 1. *)
adjectiveNoun[s_] := Flatten@Transpose@({(Count[s, #1] &) /@ #1, #1} &)[Range[0, Max[s]]];
NestList[adjectiveNoun[#1] &, adjectiveNoun[{1}], 7]
(* ...and so on. By Peter J. C. Moses, Jun 03 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jun 10 2011
STATUS
approved