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.

A132829 Numbers k such that 3^k + 2 is not prime.

This page as a plain text file.
%I A132829 #15 Sep 08 2024 19:26:09
%S A132829 5,6,7,9,11,12,13,16,17,18,19,20,21,22,23,25,27,28,29,30,31,32,33,34,
%T A132829 35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,
%U A132829 59,60,61,62,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83
%N A132829 Numbers k such that 3^k + 2 is not prime.
%t A132829 a = {}; c = 3^x + 2; Do[If[PrimeQ[c],0, AppendTo[a, x]], {x, 0, 100}]; a
%t A132829 Select[Range[90],CompositeQ[3^#+2]&] (* _Harvey P. Dale_, Sep 25 2021 *)
%o A132829 (Magma) [n: n in [0..100]| not IsPrime(3^n+2)]; // _Vincenzo Librandi_, Jan 28 2011
%Y A132829 Cf. A057735, A051783.
%K A132829 nonn
%O A132829 1,1
%A A132829 _Artur Jasinski_, Sep 03 2007