OFFSET
1,1
COMMENTS
Previous name: a(n) is either a multiple or a divisor of n but not equal to n, such that a(n)/n = a(m)/m implies m = n and n/a(n)= m/a(m) also implies n = m. Also a(m) = a(n) if and only if m = n.
Equivalently, a(n) is the smallest integer k other than n that is a divisor or multiple of n such that k/n != a(m)/m for all m < n.
FORMULA
a(a(n)) = n; a(n) = (b(k)/(k + 1)) if n = b(k) for some k and a(n) = n*(n - max{k: b(k) < n} + 1) otherwise, where b(k) is the k-th number at which a(n) < n. (Equivalently, b(k) is the unique x for which a(x)/x = (k+1).) - Carl B. Carlson (carlsonc(AT)stolaf.edu), Jan 09 2005
EXAMPLE
a(3) = 9, a(3)/3 = 3 hence for no other m > 3, a(m) = 3m.
a(1000) = 1000*(1000-max{k: b(k) < 1000} + 1) = 1000*(1000-29+1) = 972000.
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Apr 25 2003
EXTENSIONS
More terms from Carl B. Carlson (carlsonc(AT)stolaf.edu), Jan 09 2005
Edited and more terms added, Jon E. Schoenfield, Feb 21 2021
STATUS
approved