0,2

Equally, a(n) = smallest k with 2^k mod k = k - n.

Table of n, a(n) for n=0..65.

a(p-2) = p for p prime >= 5; a(2^k) = 2^k. - David W. Wilson

Cf. A015910, A036236.

Sequence in context: A309513 A296203 A036237 * A119733 A140869 A111570

Adjacent sequences: A015945 A015946 A015947 * A015949 A015950 A015951

nonn

Robert G. Wilson v

Edited by N. J. A. Sloane, Jan 31 2009 at the suggestion of R. J. Mathar and T. D. Noe.

Restricted the range of k in the definition - R. J. Mathar, Mar 07 2010

approved