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.

Showing 1-1 of 1 results.

A270104 Numbers k such that 3^k + k*2^k is prime.

Original entry on oeis.org

1, 2, 7, 8, 13, 43, 55, 59, 145, 149, 545, 2468, 4049, 4055, 15653, 22765, 99932
Offset: 1

Views

Author

Vardan Semerjyan, Mar 11 2016

Keywords

Comments

a(17) > 30000. - Giovanni Resta, May 05 2016

Examples

			n = 2 is a term since 3^2 + 2*2^2 = 17 is prime.
		

Crossrefs

Programs

  • MATLAB
    if isprime(3^n + n*2^n)
    disp(n)
    end
    
  • Mathematica
    Select[Range[1000], PrimeQ[3^# + # * 2^#]&] (* Giovanni Resta, May 05 2016 *)
  • PARI
    is(n)=ispseudoprime(3^n+n*2^n) \\ Charles R Greathouse IV, Jun 13 2017

Extensions

a(15)-a(16) from Giovanni Resta, May 05 2016
a(17) from Michael S. Branicky, Jul 06 2024
Showing 1-1 of 1 results.