OFFSET
1,4
EXAMPLE
a(5) = 4 because 4 is the smallest positive integer m such that the continued fraction [1,1,1,2,m] has numerator divisible by 5.
1 + 1/(1 + 1/(1 + 1/(2 + 1/4))) = 35/22 and 35 is divisible by 5.
[1,1,1,2,4,2,7,2,7,10,5,10] equals 4878960/3065089 and 12 divides 4878960.
CROSSREFS
KEYWORD
nonn,fini,full
AUTHOR
Leroy Quet, Sep 23 2005
EXTENSIONS
Completed by Hans Havermann, Sep 23 2005. Rechecked Oct 23, 2005
STATUS
approved