OFFSET
1,1
COMMENTS
First term with an even number of digits is a(389) = 66800866. - Chai Wah Wu, Apr 08 2016
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..389
EXAMPLE
The smallest palindromic proper multiple of 4 is 8, not the concatenation of 4 with itself, so 4 is not a term.
The smallest palindromic proper multiple of 5 is 55, the concatenation of 5 with itself, so 5 is a term.
PROG
(Python)
from itertools import count, islice
def A119368_gen(): # generator of terms
for n in count(2):
p = (c:=n-x)*x+int(str(c)[-2::-1] or 0) if n<(x:=10**(len(str(n>>1))-1))+(y:=10*x) else (c:=n-y)*y+int(str(c)[::-1] or 0)
for i in count(n+1):
if not (q:=(c:=i-x)*x+int(str(c)[-2::-1] or 0) if i<(x:=10**(len(str(i>>1))-1))+(y:=10*x) else (c:=i-y)*y+int(str(c)[::-1] or 0))%p:
if (s:=str(q)) == (t:=str(p))*(len(s)//len(t)):
yield p
break
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Franklin T. Adams-Watters, May 16 2006
STATUS
approved
