OFFSET
2,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 2..197 (terms 2..120 from Hugo Pfoertner)
FORMULA
PROG
(PARI) forprime (p=3, 140, my(f=factor(2^(p-1)-1)); print1(f[#f[, 1], 1], ", "))
(Python)
from sympy import primefactors, sieve
def A358699(n): return primefactors(2**(sieve[n]-1)-1)[-1] # Karl-Heinz Hofmann, Nov 28 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Nov 27 2022
STATUS
approved