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.

A057738 Primes p such that 3^p + 2 is prime.

This page as a plain text file.
%I A057738 #29 May 17 2025 23:36:58
%S A057738 2,3,139
%N A057738 Primes p such that 3^p + 2 is prime.
%C A057738 Primes in A051783. - _Jens Kruse Andersen_, Jun 29 2014
%C A057738 No further terms < 1753089 using A051783. - _Michael S. Branicky_, May 14 2025
%D A057738 J.-M. De Koninck, Ces nombres qui nous fascinent, Entry 139, p. 48, Ellipses, Paris 2008.
%e A057738 a(2) = 3 because 3^3 + 2 = 29 is prime.
%t A057738 For[n = 1, n < 700, n++, If[PrimeQ[3^Prime[n] + 2], Print[Prime[n]]]] (* _Stefan Steinerberger_, Mar 18 2006 *)
%o A057738 (Magma) [p: p in PrimesUpTo(2000) | IsPrime(3^p+2)]; // _Vincenzo Librandi_, Jun 30 2014
%Y A057738 Cf. A051783, A057739.
%K A057738 more,nonn,bref
%O A057738 1,1
%A A057738 _G. L. Honaker, Jr._, Oct 29 2000