OFFSET
1,1
EXAMPLE
a(1) = seveN, a(2) = oNe, a(3) = tweNty, a(4)= Nine, a(5) = seveNteen, etc.
MATHEMATICA
ePos[n_] := Flatten@Position[DeleteCases[Reverse@Characters@IntegerName[n, "Words"], a_ /; MemberQ[{" ", "\[Hyphen]"}, a]], "n"]; t = {}; i = 1; Monitor[Table[Do[If[MemberQ[ePos[i], n], Return[lst = AppendTo[t, i]; i = 1; lst], i++], \[Infinity]], {n, 1, 43, 1}] // Last, {ProgressIndicator[n, {1, 43}], n, i}] (* Robert P. P. McKone, Feb 07 2022 *)
CROSSREFS
KEYWORD
nonn,word
AUTHOR
Claudio Meller, Feb 12 2010
EXTENSIONS
More terms from Robert P. P. McKone, Feb 08 2022
STATUS
approved