login
Sum of numerator and denominator in a rational approximation j/k of q = log(2)/log(3), such that q - j/k is a new minimum, i.e., q is approximated from below.
5

%I #7 Jul 05 2022 10:34:55

%S 1,3,8,13,44,75,106,243,380,517,654,791,2510,4229,5948,7667,9386,

%T 11105,12824,14543,16262,17981,19700,21419,23138,24857,26576,28295,

%U 30014,31733,33452,35171,36890,38609,40328,122703,205078,492531,27869189,166722603,305576017

%N Sum of numerator and denominator in a rational approximation j/k of q = log(2)/log(3), such that q - j/k is a new minimum, i.e., q is approximated from below.

%o (PARI) a355514(upto) = {my(q=log(2)/log(3), dmin=oo);for (m=1, upto, my(n=floor(m*q), qq=n/m, d=q-qq); if (d<dmin, print1(n+m,", "); dmin=d))};

%o \\ needs increased precision for larger terms

%o a355514(10^7)

%Y Cf. A102525, A355512, A355513, A355515.

%Y Terms are candidates for being in A355240, which shares 3, 8, 13, 44, 75.

%K nonn

%O 1,2

%A _Hugo Pfoertner_, Jul 05 2022