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.

A095906 Numbers n such that 3^n-2^(n-1) is prime.

This page as a plain text file.
%I A095906 #9 Jun 05 2017 10:14:05
%S A095906 1,2,3,4,5,9,10,11,12,16,29,34,41,61,73,186,191,241,282,1075,1404,
%T A095906 1991,2116,3399,3935,4924,5353,7660,8645,11832,16029,17370,19182,
%U A095906 22386,27295,30570,41125,61498,64786,72820,90221,122506,132570,142249,179489,181378
%N A095906 Numbers n such that 3^n-2^(n-1) is prime.
%C A095906 a(47) > 2*10^5. - _Robert Price_, Jan 14 2016
%t A095906 Do[ If[ PrimeQ[3^n - 2^(n - 1)], Print[n]], {n, 3000}]
%o A095906 (PARI) is(n)=ispseudoprime(3^n-2^(n-1)) \\ _Charles R Greathouse IV_, Jun 05 2017
%Y A095906 Cf. A082103.
%K A095906 nonn,more
%O A095906 1,2
%A A095906 Herman H. Rosenfeld (herm3(AT)pacbell.net) and _Robert G. Wilson v_, Jun 17 2004
%E A095906 More terms from _Ray G. Opao_, Jul 22 2004
%E A095906 a(30)-a(46) from _Robert Price_, Jan 14 2016