OFFSET
0,2
COMMENTS
Equally, a(n) = smallest k with 2^k mod k = k - n.
FORMULA
a(p-2) = p for p prime >= 5; a(2^k) = 2^k. - David W. Wilson
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
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
STATUS
approved