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.

A355513 Sum of numerator and denominator in a rational approximation j/k of q = log(2)/log(3), such that abs(j/k - q) is a new minimum.

Original entry on oeis.org

2, 3, 5, 8, 13, 18, 31, 75, 106, 137, 517, 654, 791, 928, 1719, 21419, 23138, 24857, 26576, 28295, 30014, 31733, 33452, 35171, 36890, 38609, 40328, 82375, 205078, 287453, 492531, 14078321, 14570852, 15063383, 15555914, 16048445, 16540976, 17033507, 17526038, 18018569
Offset: 1

Views

Author

Hugo Pfoertner, Jul 05 2022

Keywords

Crossrefs

Programs

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