[seqfan] A169605 error and extension

Jim Nastos nastos at gmail.com
Mon Dec 21 05:49:38 CET 2009


Response below:

---------- Forwarded message ----------
From: Douglas McNeil <mcneil at hku.hk>
Date: Sun, Dec 20, 2009 at 8:31 PM
Subject: Re: [seqfan] A169605 error and extension
To: Jim Nastos <nastos at gmail.com>

What about 1855 (= 2*929-3 = 3*619-2) and 1891 (=2*947-3 = 3*631-2)?

# sage code
is_prime_Q = lambda x: x.is_integral() and Integer(x).is_prime()
A169605 = list(x for x in range(1, 10**4) if is_prime_Q((x+3)/2) and
is_prime_Q((x+2)/3))
A169605[:36]

[7, 19, 31, 55, 91, 139, 175, 199, 211, 379, 391, 451, 499, 535, 631,
715, 919, 931, 1039, 1135, 1291, 1315, 1399, 1435, 1639, 1711, 1759,
1819, 1855, 1891, 1939, 2179, 2215, 2359, 2431, 2515]
---------------------------------------------------

Indeed, Doug, you are correct. After one line of output, my
copy-and-paste was jarbled and I wrote out terms manually. After I
wrote "1819" I continued from "1891" without noticing I missed two
terms.

JN




More information about the SeqFan mailing list