OFFSET
1,3
COMMENTS
Iterating the map A226911 was suggested in the SeqFan post by E. Angelini, cf link.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
M. Hasler in reply to E. Angelini, English number words modulo themselves, SeqFan list, Jun 21 2013
MAPLE
f:= proc(n) local S;
uses StringTools;
S:= Select(IsAlpha, convert(n, english));
convert(map(`-`, convert(S, bytes), 96), `+`) mod n
end proc:
g:= proc(n) option remember;
local v;
v:= f(n);
1+procname(v)
end proc:
g(0):= 0:
map(g, [$1..100]); # Robert Israel, Jun 13 2019
CROSSREFS
KEYWORD
nonn,word
AUTHOR
M. F. Hasler, Jun 23 2013
STATUS
approved