OFFSET
1,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
PROG
(Python)
from itertools import product
def agen():
digits = 1
while True:
for i in range(digits-2): yield int("1"+"0"*(digits-3-i)+"1"+"0"*i+"0")
yield int("2"+"0"*(digits-1))
digits += 1
g = agen()
print([next(g) for i in range(32)]) # Michael S. Branicky, Feb 20 2021
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Apr 01 2002
EXTENSIONS
Corrected and extended by Ray Chandler, Sep 28 2003
STATUS
approved