OFFSET

1,2

PROG

(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))};

\\ needs increased precision for larger terms

a355514(10^7)

CROSSREFS

KEYWORD

nonn

AUTHOR

Hugo Pfoertner, Jul 05 2022

STATUS

approved