OFFSET
1,2
MATHEMATICA
name[n_]:=IntegerName[n, "Words"]; a[1]=1;
a[n_]:=a[n]=Module[{i=1}, While[Or[MemberQ[Table[a[k], {k, 1, n-1}], i],
!StringContainsQ[name[i], StringTake[name[a[n-1]], 1]]], i++ ]; i];
a/@Range[69] (* Ivan N. Ianakiev, Dec 20 2021 *)
CROSSREFS
KEYWORD
easy,nonn,word
AUTHOR
Ivan N. Ianakiev, Nov 07 2016
STATUS
approved