login
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.
4
11, 31, 79, 331, 4789, 30319, 1021381, 29099599, 446186581, 51757546801, 1002802452019, 29682952540921, 304250263529059, 78496567990022389, 1844669347765477039, 423659060203470584971, 13459322451079488477211
OFFSET
1,1
LINKS
EXAMPLE
a(7) = 2*510510 + 361 = 2*(2*3*5*7*11*13*17) + 19*19 = 2*A002110(7) + prime(8)^2.
MATHEMATICA
Table[SelectFirst[Range[120] Product[Prime@ i, {i, n}] + Prime[n + 1]^2, PrimeQ], {n, 17}] (* Michael De Vlieger, Aug 16 2017 *)
CROSSREFS
Cf. A002110.
Sequence in context: A089346 A296969 A038773 * A038768 A269789 A072672
KEYWORD
nonn
AUTHOR
Labos Elemer, Apr 25 2000
STATUS
approved