login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A095027 Semiprimes of the form 3^n - 2^n. 1
65, 2059, 19171, 1586131, 1161737179, 94134790219, 450283768452043891, 7509466514977363620705281135650699, 2909321189362570189660446183802104997118371, 19088056323407826916968161259086927505582748291 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1)=65 because 3^4-2^4=65=5*13 is a semiprime; a(3)=19171: 3^9-2^9=19171=19*1009.
MATHEMATICA
Select[Table[3^n - 2^n, {n, 100}], PrimeOmega[#] == 2&] (* Vincenzo Librandi, Sep 21 2012 *)
PROG
(Magma) IsSemiprime:=func<n | &+[d[2]: d in Factorization(n)] eq 2>; [s: n in [2..100] | IsSemiprime(s) where s is 3^n - 2^n]; // Vincenzo Librandi, Sep 21 2012
CROSSREFS
Cf. A082869 = n such that 3^n-2^n is a semiprime, A058765 primes of the form 3^n-2^n.
Sequence in context: A031604 A002502 A333118 * A017781 A017728 A300168
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jun 03 2004
EXTENSIONS
a(10) from Vincenzo Librandi, Sep 21 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 11:01 EDT 2024. Contains 371936 sequences. (Running on oeis4.)