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.

A299159 Numbers k such that 4*k-1, 6*k-1 and 12*k-1 are prime.

This page as a plain text file.
%I A299159 #12 Sep 08 2022 08:46:20
%S A299159 1,2,5,15,32,42,60,110,120,152,215,242,260,315,357,390,392,425,470,
%T A299159 495,560,732,735,840,1055,1082,1127,1275,1307,1352,1457,1562,1590,
%U A299159 1755,1782,1797,1887,1925,1967,2055,2112,2132,2150,2175,2205,2360,2387,2472,2517,2567,2667,2717,2822,2882,2930,2945
%N A299159 Numbers k such that 4*k-1, 6*k-1 and 12*k-1 are prime.
%H A299159 Robert Israel, <a href="/A299159/b299159.txt">Table of n, a(n) for n = 1..10000</a>
%p A299159 select(j -> isprime(4*j-1) and isprime(6*j-1) and isprime(12*j-1), [$1..10000]);
%t A299159 Select[Range[3000], And@@PrimeQ/@({4, 6, 12} # - 1) &] (* _Vincenzo Librandi_, Feb 04 2018 *)
%o A299159 (Magma) [n: n in [0..3000] |IsPrime(4*n-1) and IsPrime(6*n-1) and IsPrime(12*n-1)]; // _Vincenzo Librandi_, Feb 04 2018
%Y A299159 Cf. A299068.
%K A299159 nonn
%O A299159 1,2
%A A299159 _Robert Israel_, Feb 04 2018