OFFSET
1,1
COMMENTS
The next roadblock to being able to extend the sequence is 3^658 - 2, a 314-decimal digit composite with no known factors. - Ryan Propper, Feb 07 2013
LINKS
Herman Jamke and others, Illustration of first 42 terms
Ryan Propper, Table of factorizations of 3^n - 2.
Factordb.com, Status of 3^658-2.
EXAMPLE
a(1) = 3 because 3^3-2 = 25 = 5*5.
a(2) = 8 because 3^8-2 = 6559 = 7*937.
a(3) = 10 because 3^10-2 = 59047 = 137*431.
MATHEMATICA
Do[f = 3^n - 2; If[ !PrimeQ[f], s = FactorIntegerECM[f]; If[PrimeQ[s] && PrimeQ[f/s], Print[n]]], {n, 2, 10^3}] (* Ryan Propper, May 11 2007 *)
PROG
(PARI) for(n=1, 200, if(bigomega(3^n-2)==2, print1(n", "))) /* Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 02 2007 */
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Hugo Pfoertner, Mar 30 2003
EXTENSIONS
Added missing a(1)=3 by Herman Jamke (hermanjamke(AT)fastmail.fm), Apr 01 2007
a(27)-a(42) from Herman Jamke (hermanjamke(AT)fastmail.fm) and Ryan Propper, Apr 01, Apr 19 2007, May 11 2007
Restored missing terms < 388 by Sean A. Irvine, Apr 06 2011 (Some correctly stated terms in Jamke's and Propper's list had been omitted during editing)
a(43)-a(47) from Sean A. Irvine, Jun 13 2012
a(48) from Ryan Propper, Sep 30 2012
a(49)-a(52) from Ryan Propper, Feb 07 2013
STATUS
approved