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”).

A229767
Largest prime factor of 2^(2*n+1)-2^(n+1)+1.
4
5, 5, 113, 37, 397, 1613, 61, 953, 457, 14449, 30269, 8101, 246241, 107367629, 384773, 312709, 47392381, 184481113, 1249, 12112549, 1759217765581, 54001, 140737471578113, 4981857697937, 26317, 1801439824104653, 415878438361, 525313, 174877, 368140581013
OFFSET
1,1
COMMENTS
2^(2*n+1)-2^(n+1)+1 is a factor of 4^(2*n+1)+1.
LINKS
EXAMPLE
For n=5, 2^(2*n+1)-2^(n+1)+1 = 1985 = 5*397, so a(5)=397.
PROG
(PARI) a(n) = {f=factor(2^(2*n+1)-2^(n+1)+1); f[matsize(f)[1], 1]}
CROSSREFS
KEYWORD
nonn
AUTHOR
Colin Barker, Sep 29 2013
STATUS
approved