OFFSET
1,2
PROG
(Python)
def A081930(n, k):
s = str(10**((n-1)//2)-(n==1)+k-1)
return int(s+s[-1-n%2::-1]) # Pontus von Brömssen, Aug 24 2024
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Apr 01 2003
EXTENSIONS
Corrected and extended by Joshua Zucker, Feb 13 2006
STATUS
approved