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.

A057735 Primes of the form 3^k + 2.

This page as a plain text file.
%I A057735 #23 Nov 09 2023 14:21:43
%S A057735 3,5,11,29,83,6563,59051,4782971,14348909,282429536483,2541865828331,
%T A057735 150094635296999123,1144561273430837494885949696429,
%U A057735 57264168970223481226273458862846808078011946891,30432527221704537086371993251530170531786747066637051
%N A057735 Primes of the form 3^k + 2.
%H A057735 Vincenzo Librandi, <a href="/A057735/b057735.txt">Table of n, a(n) for n = 1..29</a>
%F A057735 a(n) = 3^A051783(n) + 2. - _Elmo R. Oliveira_, Nov 09 2023
%t A057735 Select[Table[3^n+2,{n,0,200}],PrimeQ] (* _Vincenzo Librandi_, Dec 08 2011 *)
%o A057735 (Magma) [a: n in [0..200] | IsPrime(a) where a is  3^n+2]; // _Vincenzo Librandi_, Dec 08 2011
%o A057735 (PARI) select(ispseudoprime, vector(100,n,3^n+2)) \\ _Charles R Greathouse IV_, Apr 29 2015
%Y A057735 Cf. A000040, A051783 (corresponding k's).
%K A057735 nonn
%O A057735 1,1
%A A057735 _G. L. Honaker, Jr._, Oct 29 2000