A089636 Least k, 1 <= k <= 2^n, such that the continued fraction for 2^n/k contains the maximum number of elements.
1, 3, 5, 9, 23, 39, 79, 158, 281, 741, 1145, 2297, 4495, 10111, 20223, 40446, 80983, 162009, 323369, 646271, 1216723, 2592211, 5184422, 9733109, 20739329, 41467565, 81559503, 163649289, 311481083, 662667007, 1325334527, 2628708543, 5308871023, 9627863373
Offset: 1
Keywords
Examples
From _Jon E. Schoenfield_, Nov 05 2014: (Start) The continued fractions for 2^3/k for k = 1..2^3 are 8/1 = 8 (1 element) 8/2 = 4 (1 element) 8/3 = 2 + 1/(1 + 1/2) = cf[2;1,2] (3 elements) 8/4 = 2 (1 element) 8/5 = 1 + 1/(1 + 1/(1 + 1/2)) = cf[1;1,1,2] (4 elements) 8/6 = 4/3 = 1 + 1/3 = cf[1;3] (2 elements) 8/7 = 1 + 1/7 = cf[1;7] (2 elements) 8/8 = 1 (1 element) so the first (and, in this case, only) value of k at which the maximum number of elements (i.e., 4) occurs is k=5; thus, a(3)=5. (End)
Crossrefs
Cf. A084242.
Formula
a(n) = A084242(2^n).
Extensions
More terms from Jon E. Schoenfield, Nov 05 2014
Comments