OFFSET
1,11
COMMENTS
Similar to A367614, but here we give the k such that n is a comma-child of k, whereas in A367614 n has to be a comma-successor of k. See A367338 for definitions.
The first difference between A367614 and the present sequence arises because 14 has one comma-successor, 59, but has two comma-children, 59 and 60. So A367614(59) = 14, A367614(60) = -1, while in the present sequence we have a(59) = a(60) = 14.
There are similar differences at n = 69 and 70, because both are comma-children of 33, and at many other places.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
PROG
(Python)
def a(n):
y = int(str(n)[0])
x = (n-y)%10
k = n - y - 10*x
return k if k > 0 else -1
print([a(n) for n in range(1, 86)]) # Michael S. Branicky, Dec 18 2023
CROSSREFS
KEYWORD
sign,base
AUTHOR
N. J. A. Sloane, Dec 18 2023
STATUS
approved