OFFSET
1,2
COMMENTS
a(2^n - 1) = 1.
EXAMPLE
n=5->'101', L(5)=3, L(5)!=6, a(5)=533: (533 mod (1+1*6))*2^0 +
(533 mod (1+2*6))*2^1 + (533 mod (1+3*6))*2^2 = (533 mod 7)*1+ (533 mod
13)*2 + (533 mod 19)*4 = 1*1 + 0*2 + 1*4 = 5.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Reinhard Zumkeller, May 05 2004
EXTENSIONS
Corrected and extended. Sean A. Irvine, Sep 17 2009
STATUS
approved