cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A229768 Largest prime factor of 2^(2*n+1)+2^(n+1)+1.

Original entry on oeis.org

13, 41, 29, 109, 2113, 157, 1321, 26317, 525313, 1429, 1657, 268501, 279073, 536903681, 49477, 4327489, 7416361, 231769777, 21841, 43249589, 500177, 29247661, 7484047069, 19707683773, 1326700741, 586477649, 3630105520141, 275415303169, 104399276341
Offset: 1

Views

Author

Colin Barker, Sep 29 2013

Keywords

Comments

2^(2*n+1)+2^(n+1)+1 is a factor of 4^(2*n+1)+1.

Examples

			For n=10, 2^(2*n+1)+2^(n+1)+1 = 2099201 = 13*113*1429, so a(10)=1429.
		

Crossrefs

Programs

  • Mathematica
    Table[FactorInteger[2^(2n+1)+2^(n+1)+1][[-1,1]],{n,30}] (* Harvey P. Dale, Nov 03 2017 *)
  • PARI
    a(n) = {f=factor(2^(2*n+1)+2^(n+1)+1); f[matsize(f)[1],1]}