OFFSET
1,1
EXAMPLE
a(4) = (9 mod 7) = 2 because k(4) = 9 = 3*3 and 6 = 3+3,
a(5) = (10 mod 8) = 2 because k(5) = 10 = 2*5 and 7 = 2+5,
a(10) = (18 mod 9) = 0 because k(10) = 18 = 2*3*3 and 8 = 2+3+3, etc.
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 08 2008
EXTENSIONS
a(38), a(39), a(41), a(45), a(61) etc. corrected by R. J. Mathar, Sep 13 2008
STATUS
approved