cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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

This page as a plain text file.
%I A352913 #14 Apr 26 2022 08:12:20
%S A352913 3,5,29,727,3628811,733,39916817,87178291219,20922789888023,
%T A352913 2432902008176640029,1124000727777607680031,
%U A352913 8683317618811886495518194401280000037,15511210043330985984000041,523022617466601111760007224100074291200000043,2658271574788448768043625811014615890319638528000000047
%N A352913 a(n) = largest prime of the form prime(n) + k! (k >= 0).
%H A352913 Michael S. Branicky, <a href="/A352913/b352913.txt">Table of n, a(n) for n = 1..93</a>
%o A352913 (Python)
%o A352913 from sympy import isprime, prime
%o A352913 from itertools import count, islice
%o A352913 def agen(): # generator of terms
%o A352913     for n in count(1):
%o A352913         pn, fk = prime(n), 1
%o A352913         for k in range(1, pn+1):
%o A352913             if isprime(pn + fk): yield pn + fk
%o A352913             fk *= k
%o A352913 print(list(islice(agen(), 51))) # _Michael S. Branicky_, Apr 16 2022
%Y A352913 These are the final entries in the rows of the triangle in A352912. See also A082470.
%K A352913 nonn
%O A352913 1,1
%A A352913 Editors of OEIS, based on a suggestion from _Hemjyoti Nath_, Apr 16 2022