Does there exist positive rational $s$ for which the Riemann Zeta function $\zeta(s) \in N$ or equivalently, does there exist finite positive integers $\ell,m$ and $n$ such that $$\zeta\left(1+\dfrac{\ell}{m}\right) = n$$
Update: 23-Mar-2023: New and faster code using hash map. Using this code and the method described in my answer below, I have been able to show that if there is a solution then $l > 1.7\times 10^5$.
def get_n_value(a,b):
c_b = (b/a).n(prec = prec)
return max(2, -1 + floor(0.07281584548367672486058637587/(eg - c_b)))
def get_c_value(m):
i = 1
c_m = 0
while (i <= itr):
c_m = (m + c_m - zeta(1 + 1/(m - 1 + c_m))).n(prec = prec)
i = i + 1
return c_m
def get_next_b(c_n1,b):
b_prev = b
b = 1 + floor(c_n1*a)
if b <= b_prev:
b = b_prev + 1
if gcd(a,b) > 1:
b = b + 1
return b
a = 1
step = 10^1
target = a + step - 1
sd = 0
prec = 1500
n_max = 0
eg = (1 - euler_gamma).n(prec = prec)
itr = 50
# c_dict = {}
c_2 = get_c_value(2)
while True:
c_n1 = c_2
b = 1 + floor(c_2*a)
b_max = floor(eg*a)
depth = 0
while(b <= b_max):
if(gcd(b,a) == 1):
found = False
test = b/a.n(prec = prec)
n = get_n_value(a,b)
if n in c_dict:
c_n = c_dict.get(n)
else:
c_n = get_c_value(n)
c_dict[n] = c_n
while found == False:
if (n+1) in c_dict:
c_n1 = c_dict.get(n+1)
else:
c_n1 = get_c_value(n+1)
c_dict[n+1] = c_n1
if c_n < test and test < c_n1:
found = True
depth = depth + 1
if (n > n_max):
n_max = n
# print("Maximum n is at:", a, b, n_max)
# print('found',a,b,'witness =',n)
break
else:
c_n = c_n1
n = n + 1
b = get_next_b(c_n1,b)
if(b > b_max):
break
else:
b = get_next_b(c_n1,b)
if(b > b_max):
break
sd = sd + depth
if a == target:
l = len(c_dict)
print(a,'dict', l,l/a.n(), 'dep', depth, 'sd',sd, sd/a.n())
target = target + step
a = a + 1