OFFSET
1,2
COMMENTS
There are 256 terms, the last of which is 12345678987654321. - Michael S. Branicky, Aug 04 2022
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..256 (full sequence)
EXAMPLE
PROG
(Python)
from itertools import chain, combinations as combs
def c(s): return s[0] == s[-1] == 1 and s == s[::-1]
ups = list(chain.from_iterable(combs(range(10), r) for r in range(2, 11)))
s = set(L[:-1] + R[::-1] for L in ups for R in ups if L[-1] == R[-1])
afull = [1] + sorted(int("".join(map(str, t))) for t in s if c(t))
print(afull[:40]) # Michael S. Branicky, Aug 04 2022
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Omar E. Pol, Feb 09 2010
STATUS
approved