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!)
A270104 Numbers n such that 3^n + n*2^n is prime. 1

%I #17 Jun 13 2017 10:34:50

%S 1,2,7,8,13,43,55,59,145,149,545,2468,4049,4055,15653,22765

%N Numbers n such that 3^n + n*2^n is prime.

%C a(17) > 30000. - _Giovanni Resta_, May 05 2016

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

%t Select[Range[1000], PrimeQ[3^# + # * 2^#]&] (* _Giovanni Resta_, May 05 2016 *)

%o (MATLAB)

%o if isprime(3^n + n*2^n)

%o disp(n)

%o end

%o (PARI) is(n)=ispseudoprime(3^n+n*2^n) \\ _Charles R Greathouse IV_, Jun 13 2017

%Y Cf. A270102, A123924.

%K nonn,more

%O 1,2

%A _Vardan Semerjyan_, Mar 11 2016

%E a(15)-a(16) from _Giovanni Resta_, May 05 2016

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 May 9 14:31 EDT 2024. Contains 372351 sequences. (Running on oeis4.)