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.

A023352 Primes that remain prime through 5 iterations of function f(x) = 9x + 2.

This page as a plain text file.
%I A023352 #21 Sep 08 2022 08:44:47
%S A023352 103,283,929,3931,7759,52973,75853,90031,93371,103561,106949,110821,
%T A023352 128111,130841,137273,163861,198553,288023,342389,357031,377231,
%U A023352 425681,429973,435181,450311,490663,526159,532199,552791,574801,585733,599719
%N A023352 Primes that remain prime through 5 iterations of function f(x) = 9x + 2.
%C A023352 Primes p such that 9*p+2, 81*p+20, 729*p+182, 6561*p+1640 and 59049*p+14762 are also primes. - _Vincenzo Librandi_, Aug 05 2010
%H A023352 John Cerkan, <a href="/A023352/b023352.txt">Table of n, a(n) for n = 1..10000</a>
%t A023352 Select[Prime[Range[50000]],AllTrue[Rest[NestList[9#+2&,#,5]],PrimeQ]&] (* The program uses the AllTrue function from Mathematica version 10 *) (* _Harvey P. Dale_, Feb 24 2017 *)
%o A023352 (Magma) [n: n in [1..19000000] | IsPrime(n) and IsPrime(9*n+2) and IsPrime(81*n+20) and IsPrime(729*n+182) and IsPrime(6561*n+1640) and IsPrime(59049*n+14762)] // _Vincenzo Librandi_, Aug 05 2010
%Y A023352 Subsequence of A023233, A023265, A023296, and A023324.
%K A023352 nonn
%O A023352 1,1
%A A023352 _David W. Wilson_