pp4 = [2053, 4111, 6173, 4127, 4129, 2083, 4133, 2089, 8233, 8237, 6197, 4153, 4157, 4159, 2113, 4177, 8273, 2131, 2137, 8293, 8297, 8311, 4217, 8317, 2179, 8329, 2203, 2207, 8353, 2213, 6317, 8377, 2237, 2239, 2243, 8389, 2251, 2267, 2269, 2273, 4327, 2281, 4337, 2293, 2297, 4357, 2311, 4373, 2333, 2341, 2347, 4397, 2357, 2371, 2377, 6473, 2383, 2389, 2393, 8537, 2417, 8573, 2437, 4493, 8597, 2467, 2473, 2477, 2503, 2521, 2531, 2543, 2557, 2579, 4637, 2593, 6703, 2617, 6719, 4673, 2633, 6733, 6737, 2647, 4703, 2659, 6761, 4723, 2677, 4729, 2683, 6779, 4733, 2693, 8837, 2707, 2711, 4759, 2713, 2719, 2729, 2731, 4783, 6833, 2741, 4789, 4793, 2753, 2767, 2777, 8923, 8929, 2789, 8933, 2797, 8941, 6917, 8971, 4877, 2833, 2837, 2857, 2887, 2897, 2903, 7013, 2917, 7019, 2927, 7027, 4993, 7043, 2953, 5003, 2957, 7057, 5011, 2971, 5023, 7079, 7103, 3011, 5059, 7109, 3019, 3023, 5077, 7127, 7129, 3037, 3041, 5101, 7151, 5107, 3061, 1013, 7159, 5113, 3067, 3079, 7177, 1033, 3083, 3089, 7193, 3109, 7207, 7211, 7213, 5167, 3119, 7219, 5179, 7229, 3137, 7237, 1093, 1097, 7243, 5197, 9293, 7247, 1103, 7253, 3163, 1117, 3167, 1123, 1129, 5227, 3181, 5231, 5233, 7283, 5237, 3191, 7297, 1153, 3203, 7307, 5261, 3217, 1171, 5273, 3229, 5279, 5281, 9377, 7331, 7333, 5297, 3251, 3253, 7349, 5303, 3257, 3259, 9413, 3271, 5323, 5333, 7393, 5347, 3307, 3313, 3319, 7417, 3323, 1277, 3329, 9473, 3331, 7433, 3343, 3347, 1303, 1307, 3359, 3361, 7457, 5413, 1319, 5417, 3371, 5419, 3373, 1327, 7477, 5431, 3389, 5437, 7487, 9533, 5443, 5449, 7499, 1361, 7507, 3413, 1367, 7517, 1373, 7523, 5477, 5479, 7529, 3433, 7537, 7541, 3449, 7547, 5503, 3457, 5507, 3461, 7559, 3463, 7561, 3467, 5519, 5521, 7573, 5527, 7577, 5531, 7583, 3491, 7589, 3499, 5557, 7607, 3511, 5563, 3517, 5569, 5573, 3527, 3529, 3533, 9677, 3541, 1493, 3547, 7643, 3557, 3559, 3571, 9719, 7673, 3583, 9733, 3593, 5641, 7691, 5647, 9743, 5653, 3607, 7703, 5659, 3613, 3617, 7717, 9767, 7723, 3631, 7727, 5683, 3643, 7741, 5693, 5701, 7753, 3659, 7757, 5711, 7759, 5717, 3673, 3677, 1637, 5737, 9833, 3691, 5741, 7789, 5743, 7793, 3701, 3709, 3719, 3727, 7823, 5779, 3733, 7829, 5783, 3739, 7853, 3761, 3767, 3769, 1723, 5821, 7873, 3779, 5827, 7877, 1733, 7883, 1741, 5839, 3793, 1747, 3797, 1753, 1759, 5857, 7907, 3821, 3823, 7919, 1777, 9973, 7927, 1783, 3833, 5881, 7933, 1789, 7937, 5897, 3853, 5903, 3863, 5923, 3877, 5927, 3881, 5953, 3907, 3911, 3919, 3929, 3947, 1907, 1913, 3967, 1931, 1933, 8093, 4013, 1973, 8117, 6073, 1979, 1993, 1997, 2003, 2011, 2017, 6113, 2027, 2029, 6131, 6133, 4093, 6143]
is_prime = lambda n: True if n in {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67} else all(False for p in {2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67} if pow(p,n-1,n) != 1)
print(len(pp4), sum(pp4)) #428 2034048
for p in pp4:
if not is_prime(p):
print(p)
#23419+2034048=2057467
结果显示都是prime呀