OFFSET
0,3
LINKS
T. D. Noe, Table of n, a(n) for n = 0..10000
FORMULA
PROG
(Python)
def A082216(n):
s = str(n)
t = s[::-1]
if s == t:
return n
for i in range(1, len(s)):
if s[i:] == t[:-i]:
return int(s+t[-i:]) # Chai Wah Wu, Apr 13 2021
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Apr 08 2003
EXTENSIONS
Corrected by T. D. Noe, Mar 10 2011
a(0) added by Chai Wah Wu, Apr 14 2021
STATUS
approved