OFFSET
0,3
COMMENTS
Apart from zero, each term occurs at most once. 91 is the smallest positive integer not present in this sequence.
Note that in contrast to the reciprocal case, where A234742(n) >= A236837(n) for all n [the former sequence gives the absolute upper bound for the latter], here it is not guaranteed that A234741(n) <= a(n) whenever a(n) > 0. For example, a(25)=25 and A234741(25)=17, and 25-17 = 8. On the other hand, a(75)=43, but A234741(75)=51, and 43-51 = -8.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..8192
FORMULA
a(n) = minimal k such that A234742(k) = n, and 0 if no such k exists.
For all n, a(n) <= n.
PROG
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jan 31 2014
STATUS
approved