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.

A111224 Numbers n such that 5*n + 7 is prime.

This page as a plain text file.
%I A111224 #19 Oct 28 2024 18:47:06
%S A111224 0,2,6,8,12,18,20,24,26,30,32,38,44,50,54,60,62,66,68,72,78,90,92,96,
%T A111224 108,110,114,116,120,122,128,134,144,150,156,158,164,170,174,176,180,
%U A111224 186,188,192,194,198,216,218,222,236,242,246,254,258,260,264,272,284
%N A111224 Numbers n such that 5*n + 7 is prime.
%e A111224 If n=108 then 5*n + 7 = 547 (prime).
%t A111224 Select[Range[0,300],PrimeQ[5#+7]&] (* _Harvey P. Dale_, Jun 24 2018 *)
%o A111224 (Magma) [n: n in [0..300] | IsPrime(5*n+7)]; // _Vincenzo Librandi_, Sep 03 2010
%o A111224 (PARI) is(n)=isprime(5*n+7) \\ _Charles R Greathouse IV_, Jun 12 2017
%Y A111224 Cf. A024894, A087505, A024897, A081759.
%K A111224 nonn,easy
%O A111224 1,2
%A A111224 _Parthasarathy Nambi_, Oct 26 2005