A058023 a(n) is the largest prime < A051451(n) - 1.
3, 7, 53, 409, 829, 2503, 27701, 360337, 720703, 12252197, 232792501, 5354228843, 26771144371, 80313433159, 2329089562747, 72201776446757, 144403552893563, 5342931457063157, 219060189739591153, 9419588158802421517, 442720643463713815129
Offset: 3
Keywords
Examples
A051451(6) = 420, 420 - 1 = 419 is preceded by the prime 409, so a(6) = 409.
Links
- Amiram Eldar, Table of n, a(n) for n = 3..377
Programs
-
Mathematica
NextPrime[Rest@ FoldList[LCM, Select[Range[50], PrimePowerQ]] - 1, -1] (* Amiram Eldar, Aug 27 2024 *)
Extensions
Edited by N. J. A. Sloane, Aug 20 2021
Comments