OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..26
MATHEMATICA
Select[FoldList[Times, Array[FactorInteger[#][[-1, 1]] &, 100]] - 1, PrimeQ] (* Amiram Eldar, Apr 08 2024 *)
PROG
(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
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Mar 06 2005
STATUS
approved