login
Primes that remain prime through 3 iterations of function f(x) = 9x + 4.
3

%I #22 Aug 28 2024 14:46:12

%S 3,31,37,41,107,421,773,967,1451,1567,1571,1637,1973,3011,3793,4111,

%T 4217,4703,5783,6961,7331,8443,8627,9323,10733,12071,12413,12721,

%U 12967,13523,14107,14503,14737,15647,17851,17881,19853,19991,20051,20233,22157,23291

%N Primes that remain prime through 3 iterations of function f(x) = 9x + 4.

%C Primes p such that 9*p+4, 81*p+40 and 729*p+364 are also primes. - _Vincenzo Librandi_, Aug 04 2010

%H John Cerkan, <a href="/A023297/b023297.txt">Table of n, a(n) for n = 1..10000</a>

%o (Magma) [n: n in [1..450000] | IsPrime(n) and IsPrime(9*n+4) and IsPrime(81*n+40) and IsPrime(729*n+364)]; // _Vincenzo Librandi_, Aug 04 2010

%Y Subsequence of A023234 and A023266.

%K nonn

%O 1,1

%A _David W. Wilson_