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.

A162715 Primes of the form 3^p-2^(p+1), where p is also a prime.

This page as a plain text file.
%I A162715 #7 Sep 08 2022 08:45:46
%S A162715 11,179,1931,617669101316651,14130386090585813000157964091,
%T A162715 19088056323407826758511836230558252318494847619
%N A162715 Primes of the form 3^p-2^(p+1), where p is also a prime.
%C A162715 The next term has 1117 digits and is not included explicitly for that reason.
%F A162715 a(n) = 3^A162714(n)-2^(1+A162714(n)) .
%t A162715 Select[Table[3^p - 2^(p + 1), {p, Prime[Range[70]]}], PrimeQ] (* _Vincenzo Librandi_, Sep 11 2013 *)
%o A162715 (Magma) [a: p in PrimesInInterval(3,1200) | IsPrime(a) where a is 3^p - 2^(p + 1)]; // _Vincenzo Librandi_, Sep 11 2013
%Y A162715 Cf. A162714.
%K A162715 nonn
%O A162715 1,1
%A A162715 _Vincenzo Librandi_, Jul 11 2009
%E A162715 Clarified status of p in the definition - _R. J. Mathar_, Oct 16 2009