%N Peter Munn showed in A111273 that if A111273(n)=m then if m is odd, n <= m, and if m is even, n <= 2*m-1; a(n) is either m-n or 2*m-1-n in the two cases.
%C It is known that if p is an odd prime, a(p-1) = 1 (see A111273).
%Y Cf. A111273.
%A _N. J. A. Sloane_, Jul 26 2019