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!)
A352913 a(n) = largest prime of the form prime(n) + k! (k >= 0). 2

%I #14 Apr 26 2022 08:12:20

%S 3,5,29,727,3628811,733,39916817,87178291219,20922789888023,

%T 2432902008176640029,1124000727777607680031,

%U 8683317618811886495518194401280000037,15511210043330985984000041,523022617466601111760007224100074291200000043,2658271574788448768043625811014615890319638528000000047

%N a(n) = largest prime of the form prime(n) + k! (k >= 0).

%H Michael S. Branicky, <a href="/A352913/b352913.txt">Table of n, a(n) for n = 1..93</a>

%o (Python)

%o from sympy import isprime, prime

%o from itertools import count, islice

%o def agen(): # generator of terms

%o for n in count(1):

%o pn, fk = prime(n), 1

%o for k in range(1, pn+1):

%o if isprime(pn + fk): yield pn + fk

%o fk *= k

%o print(list(islice(agen(), 51))) # _Michael S. Branicky_, Apr 16 2022

%Y These are the final entries in the rows of the triangle in A352912. See also A082470.

%K nonn

%O 1,1

%A Editors of OEIS, based on a suggestion from _Hemjyoti Nath_, Apr 16 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 July 25 23:06 EDT 2024. Contains 374615 sequences. (Running on oeis4.)