login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A292238
a(n) = gpf(lpf(2^prime(n) - 1) - 1) where prime(n) is the n-th prime.
1
2, 3, 5, 7, 11, 13, 257, 73, 23, 29, 331, 37, 163, 43, 47, 53, 61, 1321, 2677, 1609, 73, 79, 83, 2931542417, 97, 278557, 599, 28059810762433, 31981, 113, 77158673929, 131, 27977333, 457, 37888318897441, 151, 4523, 461, 541, 173, 179, 181, 191, 587, 197, 3690437
OFFSET
1,1
FORMULA
For p in A291691, let pp be such that p = prime(pp), then a(pp) = p.
PROG
(PARI) a(n) = vecmax(factor(vecmax(factor(2^prime(n)-1)[, 1])-1)[, 1]);
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Sep 12 2017
STATUS
approved