OFFSET
1,1
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 1..9196
PROG
(Python)
from sympy.ntheory.modular import crt
from sympy import factorint
from math import prod
from itertools import count, islice, combinations
def A344000_gen(): # generator of terms
for n in count(1):
plist = tuple(p**q for p, q in factorint(2*n).items())
if len(plist) > 1 and min(min(crt((m, 2*n//m), (0, -1))[0], crt((2*n//m, m), (0, -1))[0]) for m in (prod(d) for l in range(1, len(plist)//2+1) for d in combinations(plist, l))) & 1 == 0:
yield n
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 01 2021
STATUS
approved