OFFSET
1,2
FORMULA
A(n, 1) = n. For k > 1, A(n, k) = A303475(A(n, k-1)).
EXAMPLE
Array starts
1, 14, 74, 147, 174, 471, 1135, 1531, 5131, 13145, ...
2, 21, 120, 121, 1120, 1121, 14121, 21114, 21174, 21471, ...
3, 13, 37, 137, 731, 1135, 1531, 5131, 13145, 13541, ...
4, 14, 74, 147, 174, 471, 1135, 1531, 5131, 13145, ...
5, 25, 125, 521, 1125, 1521, 5121, 11249, 11294, 11492, ...
6, 16, 67, 76, 167, 176, 671, 761, 1165, 1561, ...
7, 17, 77, 177, 771, 1175, 1571, 5171, 14175, 14571, ...
8, 18, 78, 178, 871, 1178, 1871, 8171, 14178, 14871, ...
9, 19, 79, 97, 137, 731, 1135, 1531, 5131, 13145, ...
...
Initial terms of row n=1 illustrated in detail, with dots denoting places where new letters are inserted:
one -> .o...e.n -> fourteen
fourteen -> .e.ent.four -> seventyfour
seventyfour -> one.u..re.f..tys.v.. -> onehundredfortyseven
onehundredfortyseven -> onehundredseventyfo.r -> onehundredseventyfour
PROG
(PARI) T(n, k) = if (k == 1, n, a303475(T(n, k-1)));
tabl(nn) = for (n=1, nn, for (k=1, nn, print1(T(n, k), ", ")); print); \\ Michel Marcus, Apr 24 2018
CROSSREFS
KEYWORD
AUTHOR
Felix Fröhlich, Apr 22 2018
STATUS
approved