OFFSET
0,2
COMMENTS
a(n) is the smallest nonnegative k such that A374017(k) = n.
a(30) = 5775300.
a(31) = 38564100.
a(32) = 9625500.
a(33) = 135812700.
a(35) = 41917500.
a(36) = 17325900.
a(37) = 107122500.
a(40) = 28876500.
PROG
(Python)
from itertools import count
from sympy.abc import x, y
from sympy.solvers.diophantine.diophantine import diop_quadratic
def A374160(n): return next(m for m in count(0) if sum(1 for d in diop_quadratic(x**2+11*y**2-m) if d[0]>0 and d[1]>0)==n) # Chai Wah Wu, Jun 30 2024
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Seiichi Manyama, Jun 29 2024
STATUS
approved