login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A268465 Primes of the form m*prime(m) + (m + 1)*prime(m + 1) + (m + 2)*prime(m + 2). 2

%I #13 May 17 2022 16:09:02

%S 23,349,1579,4691,5783,7187,9547,11519,15377,45779,52289,353359,

%T 361787,384277,510227,678413,710599,1007861,1218709,1301617,1484449,

%U 1567567,1839469,2073989,2264959,2409163,2438377,2520779,2735281,2882653,2998867,3100271,3211751

%N Primes of the form m*prime(m) + (m + 1)*prime(m + 1) + (m + 2)*prime(m + 2).

%C Primes arising in A105455.

%C Primes of the form A033286(m)+A033286(m+1)+A033286(m+2).

%H Michael S. Branicky, <a href="/A268465/b268465.txt">Table of n, a(n) for n = 1..10000</a>

%o (Python)

%o from itertools import islice

%o from sympy import isprime, nextprime

%o def agen(): # generator of terms

%o m, p, q, r = 1, 2, 3, 5

%o while True:

%o t = m*p + (m+1)*q + (m+2)*r

%o if isprime(t): yield t

%o m, p, q, r = m+1, q, r, nextprime(r)

%o print(list(islice(agen(), 33))) # _Michael S. Branicky_, May 17 2022

%Y Cf. A033286.

%K nonn

%O 1,1

%A _Zak Seidov_, Feb 05 2016

%E Typo in a(28) fixed by _Seth A. Troisi_, May 17 2022

%E a(29) and beyond from _Michael S. Branicky_, May 17 2022

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 18:05 EDT 2024. Contains 371798 sequences. (Running on oeis4.)