[go: up one dir, main page]

login
A268465
Primes of the form m*prime(m) + (m + 1)*prime(m + 1) + (m + 2)*prime(m + 2).
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,1
COMMENTS
Primes arising in A105455.
Primes of the form A033286(m)+A033286(m+1)+A033286(m+2).
LINKS
PROG
(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
CROSSREFS
Cf. A033286.
Sequence in context: A025989 A125480 A023950 * A025973 A277833 A022469
KEYWORD
nonn
AUTHOR
Zak Seidov, Feb 05 2016
EXTENSIONS
Typo in a(28) fixed by Seth A. Troisi, May 17 2022
a(29) and beyond from Michael S. Branicky, May 17 2022
STATUS
approved