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.

A024904 Numbers k such that 7*k - 5 is prime.

This page as a plain text file.
%I A024904 #23 Sep 08 2022 08:44:48
%S A024904 1,4,6,12,16,22,24,28,34,46,48,52,54,58,64,66,72,78,82,94,102,108,118,
%T A024904 124,126,132,136,148,156,162,168,174,184,186,196,198,202,204,208,214,
%U A024904 222,232,252,256,258,268,274,286,288,292,294,298,306,312,316,318,334,336,342,346
%N A024904 Numbers k such that 7*k - 5 is prime.
%H A024904 Vincenzo Librandi, <a href="/A024904/b024904.txt">Table of n, a(n) for n = 1..1000</a>
%t A024904 Select[Range[400], PrimeQ[7 # - 5] &] (* _Vincenzo Librandi_, Sep 26 2012 *)
%o A024904 (Magma) [n: n in [1..1000] |IsPrime(7*n-5)]; // _Vincenzo Librandi_, Nov 20 2010
%o A024904 (PARI) is(n)=isprime(7*n-5) \\ _Charles R Greathouse IV_, Jun 06 2017
%Y A024904 Cf. A045392 (associated primes).
%K A024904 nonn,easy
%O A024904 1,2
%A A024904 _Clark Kimberling_