cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

Original entry on oeis.org

2, 5, 18, 31, 137, 928, 1719, 42047, 82375, 287453, 779984, 1272515, 1765046, 2257577, 2750108, 3242639, 3735170, 4227701, 4720232, 5212763, 5705294, 6197825, 6690356, 7182887, 7675418, 8167949, 8660480, 9153011, 9645542, 10138073, 10630604, 11123135, 11615666, 12108197
Offset: 1

Views

Author

Hugo Pfoertner, Jul 05 2022

Keywords

Crossrefs

Programs

  • PARI
    a355515(upto) = {my(q=log(2)/log(3), dmin=oo); for (m=1, upto, my(n=ceil(m*q), qq=n/m, d=qq-q); if (d