login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A380099
a(n) is the n-digit numerator of the fraction h/k with h and k coprime positive integers at which abs((h/k)^4-Pi) is minimal.
1
4, 97, 888, 9551, 13549
OFFSET
1,1
COMMENTS
a(1)^4 = 4^4 = 256 corresponds to the numerator of A210621.
EXAMPLE
n (h/k)^4 approximated value
- ------------------- ------------------
1 (4/3)^4 3.1604938271604...
2 (97/73)^4 3.1174212867620...
3 (888/667)^4 3.1415829223858...
4 (9551/7174)^4 3.1415927852873...
5 (13549/10177)^4 3.1415926560044...
...
MATHEMATICA
nmax = 3; a = {}; hmin = kmin = 0; For[n = 1, n <= nmax, n++, minim = Infinity; For[h = 10^(n-1), h <10^n, h++, For[k = 1, k < 10^n/Pi^(1/4), k++, If[(dist = Abs[h^4/k^4-Pi]) < minim && GCD[h, k]==1, minim = dist; hmin=h; kmin = k]]]; AppendTo[a, hmin]]; a
CROSSREFS
Cf. A355622, A364844, A380100 (denominator).
Sequence in context: A333539 A356808 A041275 * A024384 A368004 A320358
KEYWORD
nonn,base,frac,more,new
AUTHOR
Stefano Spezia, Jan 12 2025
STATUS
approved