A104372 Primes of the form A104350(k) + 1.
2, 3, 7, 13, 61, 181, 2521, 7561, 415801, 1247401, 1099944846001, 146100174169950001, 1156675078903494150001, 750321420485151941966263672363958662088980270355720625000001
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..16
Programs
-
Mathematica
Select[FoldList[Times, Array[FactorInteger[#][[-1, 1]] &, 100]] + 1, PrimeQ] (* Amiram Eldar, Apr 08 2024 *)
-
PARI
gpf(n) = {my(p = factor(n)[, 1]); if(n == 1, 1, p[#p]);} lista(nmax) = {my(r = 1); for(k = 1, nmax, r * = gpf(k); if(isprime(r+1), print1(r+1, ", ")));} \\ Amiram Eldar, Apr 08 2024
Extensions
a(14) from Amiram Eldar, Apr 09 2024