OFFSET
1,3
MAPLE
A161788 := proc(n) for k from ilog2(n+1) to 0 by -1 do if n mod (2^k-1) = 0 then RETURN(2^k-1); fi; od: end: seq(A161788(n), n=1..120) ; # R. J. Mathar, Jun 27 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jun 19 2009
EXTENSIONS
Extended by R. J. Mathar, Jun 27 2009
STATUS
approved