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.

A153133 Primes of the form 2^k+3^(k-1).

Original entry on oeis.org

3, 7, 17, 43, 113, 307, 857, 20707, 181243, 539633, 14414443, 129402307, 31389448217, 1853028778786433, 5559077746424707, 50031613818476443, 150094772735952593, 8862938260389989451257, 26588814640432479998443
Offset: 1

Views

Author

Vincenzo Librandi, Mar 11 2009

Keywords

Crossrefs

Cf. A082400.

Programs

  • Magma
    [a: n in [0..100] | IsPrime(a) where a is 2^n+3^(n-1)];
  • Mathematica
    lst={};Do[p=2^n+3^(n-1);If[PrimeQ[p],AppendTo[lst,p]],{n,0,5!}];lst (* Vladimir Joseph Stephan Orlovsky, Jun 15 2009 *)
    Select[3^#[[1]]+2^#[[2]]&/@Partition[Range[0,50],2,1],PrimeQ] (* Harvey P. Dale, Feb 19 2015 *)

Extensions

More terms from Vladimir Joseph Stephan Orlovsky, Jun 15 2009