OFFSET
0,3
COMMENTS
a(98) has 1014 digits. Michael S. Branicky, Apr 14 2023
REFERENCES
Norman Sullivan, Test Your Own IQ, Workman Publishing Co. New York, NY, 1994, pp. 49, 51.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 0..97
EXAMPLE
a(13) = 34 because the previous term was 32 and 32 reversed with 1 added to each digit is 34.
PROG
(Python)
from itertools import count, islice
def f(n): return int("".join(str(int(d)+1) for d in str(n)[::-1]))
def agen(): yield (an:=0); yield from (an:=f(an) for n in count(1))
print(list(islice(agen(), 41))) # Michael S. Branicky, Apr 14 2023
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Jason Earls, May 06 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), May 07 2001
a(39) and beyond from Michael S. Branicky, Apr 14 2023
STATUS
approved