A054757 Smallest prime of the form m*Q(n) + r where Q(n) = A002110(n) (the n-th primorial) and r = prime(n+1)^2.
11, 31, 79, 331, 4789, 30319, 1021381, 29099599, 446186581, 51757546801, 1002802452019, 29682952540921, 304250263529059, 78496567990022389, 1844669347765477039, 423659060203470584971, 13459322451079488477211
Offset: 1
Keywords
Examples
a(7) = 2*510510 + 361 = 2*(2*3*5*7*11*13*17) + 19*19 = 2*A002110(7) + prime(8)^2.
Links
- Michael De Vlieger, Table of n, a(n) for n = 1..349
Crossrefs
Cf. A002110.
Programs
-
Mathematica
Table[SelectFirst[Range[120] Product[Prime@ i, {i, n}] + Prime[n + 1]^2, PrimeQ], {n, 17}] (* Michael De Vlieger, Aug 16 2017 *)