OFFSET
1,1
EXAMPLE
12 is a term because omega([11, 12]) gives [1, 2], the digits of 12.
33333 is a term because omega([33332, 33333, 33334, 33335, 33336]) but also omega([33333, 33334, 33335, 33336, 33337]) both give [3, 3, 3, 3, 3].
PROG
(PARI) vecn(n) = {my(list = List()); for (k=10^(n-1), 10^n-1-n, my(w = apply(omega, vector(n, i, k+i-1))); my(m = fromdigits(w)); if ((m>=k) && (m<=k+n-1), listput(list, m)); ); Set(list); }
lista(nn) = {my(list = List()); for (n=1, nn, my(w=vecn(n)); for (k=1, #w, listput(list, w[k])); ); Set(list); }
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Marcus, Oct 12 2021
STATUS
approved