A268465 Primes of the form m*prime(m) + (m + 1)*prime(m + 1) + (m + 2)*prime(m + 2).
23, 349, 1579, 4691, 5783, 7187, 9547, 11519, 15377, 45779, 52289, 353359, 361787, 384277, 510227, 678413, 710599, 1007861, 1218709, 1301617, 1484449, 1567567, 1839469, 2073989, 2264959, 2409163, 2438377, 2520779, 2735281, 2882653, 2998867, 3100271, 3211751
Offset: 1
Keywords
Links
- Michael S. Branicky, Table of n, a(n) for n = 1..10000
Crossrefs
Cf. A033286.
Programs
-
Python
from itertools import islice from sympy import isprime, nextprime def agen(): # generator of terms m, p, q, r = 1, 2, 3, 5 while True: t = m*p + (m+1)*q + (m+2)*r if isprime(t): yield t m, p, q, r = m+1, q, r, nextprime(r) print(list(islice(agen(), 33))) # Michael S. Branicky, May 17 2022
Extensions
Typo in a(28) fixed by Seth A. Troisi, May 17 2022
a(29) and beyond from Michael S. Branicky, May 17 2022
Comments