OFFSET
3,1
COMMENTS
This is a companion to A058019.
LINKS
Amiram Eldar, Table of n, a(n) for n = 3..377
EXAMPLE
A051451(6) = 420, 420 - 1 = 419 is preceded by the prime 409, so a(6) = 409.
MATHEMATICA
NextPrime[Rest@ FoldList[LCM, Select[Range[50], PrimePowerQ]] - 1, -1] (* Amiram Eldar, Aug 27 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 15 2000
EXTENSIONS
Edited by N. J. A. Sloane, Aug 20 2021
STATUS
approved