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

A242017
Smallest prime factor of composites in the sequence A000051(n) = 2^n+1.
3
3, 3, 5, 3, 3, 5, 3, 17, 3, 5, 3, 3, 5, 3, 17, 3, 5, 3, 97, 3, 5, 3, 17, 3, 5, 3, 641, 3, 5, 3, 17, 3, 5, 3, 257, 3, 5, 3, 17, 3, 5, 3, 193, 3, 5, 3, 17, 3, 5, 3, 257, 3, 5, 3, 17, 3, 5, 3, 274177, 3, 5, 3
OFFSET
1,1
MATHEMATICA
FactorInteger[#][[1, 1]]&/@Select[(2^Range[70]+1), CompositeQ] (* Harvey P. Dale, Feb 17 2017 *)
PROG
(PARI) for(n=1, 1e2, if(!ispseudoprime(2^n+1), p=factor(2^n+1)[1, 1]; print1(p, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
Felix Fröhlich, Aug 11 2014
STATUS
approved